Nikolai Kochetov
d4363768e6
Added IFunctonBase::getResultIfAlwaysReturnsConstantAndHasArguments
2019-08-19 20:48:19 +03:00
Nikolai Kochetov
ab4018e98e
Fix test.
2019-08-16 19:56:34 +03:00
Nikolai Kochetov
670c8a3e50
Add alwaysReturnsConstant for IFunctionBase.
2019-08-16 13:41:17 +03:00
Nikolai Kochetov
0eb1a931b4
Add alwaysReturnsConstant for IFunctionBase.
2019-08-16 13:29:33 +03:00
Nikolai Kochetov
08021fe125
Add alwaysReturnsConstant for IFunctionBase.
2019-08-16 12:38:12 +03:00
Nikolai Kochetov
2ef878d7ce
Add alwaysReturnsConstant for IFunctionBase. Set alwaysReturnsConstant=true for ignore.
2019-08-15 22:31:43 +03:00
Nikolai Kochetov
90cb316457
Added more comments. Fix operator== in ExpressionActions.
2019-08-15 12:51:53 +03:00
Nikolai Kochetov
5131b6af4b
Fix header for joins. Make function randConstant not constant.
2019-08-14 18:14:32 +03:00
alesapin
f70b0ed910
Slightly better
2019-07-31 18:05:21 +03:00
alesapin
aed4e5d1c4
Get type from source column
2019-07-31 17:57:14 +03:00
alesapin
4481bf429f
Remove nulltype from assignment
2019-07-31 17:54:58 +03:00
alesapin
2254e6fd32
Fix comment
2019-07-31 15:35:23 +03:00
alesapin
46c1e9d1a2
Use COPY_COLUMN instead of PROJECT
2019-07-31 15:33:58 +03:00
alesapin
e6052ec117
Fix bug in prewhere + distributed
2019-07-31 13:22:56 +03:00
Nikolai Kochetov
209793c981
Merged with master.
2019-07-08 16:00:54 +03:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
Nikolai Kochetov
f9b29bfdd2
Merged with master.
2019-06-25 20:00:54 +03:00
proller
1ac09fa721
Split Common/config.h by libs (dbms) ( #5715 )
2019-06-24 14:17:15 +03:00
Nikolai Kochetov
8cbecbf5cb
Fix clang build.
2019-04-10 16:28:54 +03:00
Nikolai Kochetov
b16bce0698
Fix clang build.
2019-04-10 16:27:51 +03:00
Nikolai Kochetov
59eae7b23d
Fix join for totals.
2019-04-09 17:51:38 +03:00
chertus
a63cf1aeef
fix line with PVS warning
2019-03-15 21:04:30 +03:00
chertus
09a3b24cbc
join kind helpers
2019-03-11 14:14:09 +03:00
alesapin
55fc095c98
Fix big dates comparison with compile expressions (Date and DateTime are not signed types anymore).
2019-02-11 17:36:54 +03:00
Alexey Milovidov
58a6accee5
Updated test #4246
2019-02-10 19:55:12 +03:00
chertus
26b2526a3b
fix right & full join with dups (complex join on still affected)
2019-01-31 21:10:16 +03:00
chertus
866c2b2e78
move required right keys calculation to Join.cpp
2019-01-30 18:51:39 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Alexey Milovidov
a8f09809f5
Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2]
2018-12-21 19:00:07 +03:00
alexey-milovidov
3a2c85a06c
Merge pull request #3717 from amosbird/arrayjoin
...
Support unaligned array join.
2018-12-14 21:12:24 +03:00
Amos Bird
86f462acff
Support unaligned array join
...
For left ARRAY JOIN, expand to the greatest size. If all sizes are zero,
resize to one which is the same as the old behavior, i.e. emptyArrayToSingle
For non-left ARRAY JOIN, expand to the greatest size but keep empty if all sizes are zero.
2018-12-12 22:08:28 +08:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
proller
799edcef78
CLICKHOUSE-4189 Fix segfault ( #3788 )
...
* CLICKHOUSE-4189 Fix segfault
* Update ExpressionActions.cpp
* Update ExpressionActions.cpp
2018-12-07 23:05:02 +03:00
Amos Bird
3cc0829cc1
Function execution with dry runs
...
This commit prevents stateful functions like rowNumberInAllBlocks from being modified in getHeader() calls.
2018-12-02 19:02:04 +08:00
Amos Bird
65b654a1b6
Versatile StorageJoin
...
This commit does the following:
1. StorageJoin with simple keys now supports reading
2. StorageJoin can be created with Join settings applied. Syntax is
similar to MergeTree and Kafka
3. Left Any StorageJoin with one simple key can be used as a
dictionary-like structure by function joinGet.
Examples are listed in the related test file.
2018-12-02 16:49:39 +08:00
Alexey Milovidov
5a0feee45e
Removed "conditional computations" feature, because it is not ready #2272
2018-11-26 04:39:04 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
Nikolai Kochetov
97d9ce5193
Fix WITH with single alias. #2465
2018-11-12 21:28:32 +03:00
Nikolai Kochetov
ecd48dfd07
Removed column clone from project action.
2018-11-02 12:57:29 +03:00
Nikolai Kochetov
9332dd5d2f
Removed column clone from project action.
2018-11-02 12:56:37 +03:00
alesapin
a4dd489165
Do not build compiled functions
2018-10-25 19:52:28 +03:00
alesapin
070d75c7c9
Don't unfold non deterministic expressions
2018-10-24 14:31:23 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update
2018-09-10 17:17:10 +03:00
Alexey Milovidov
c9b612de48
Attempt to fix CLICKHOUSE-3888 bug
2018-09-10 06:59:48 +03:00
alesapin
e815260363
CLICKHOUSE-3800: Improve cache and turn on compilation by default
2018-09-07 23:17:40 +03:00
Alexey Zatelepin
133c9c7c37
Merge branch 'master' into alter-update
...
Conflicts:
docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
alesapin
f331b48c58
Fix build
2018-09-06 12:52:22 +03:00
Alexander Sapin
03174e131d
Merge remote-tracking branch 'upstream/master'
2018-09-06 12:39:42 +03:00
Nikolai Kochetov
71e08a4cc0
Fix test.
2018-09-05 15:19:15 +03:00