alexey-milovidov
ce12fb6b3c
Update ExpressionAnalyzer.cpp
2019-10-05 22:34:57 +03:00
Nikolai Kochetov
3142955e6c
InterpreterSelectQuery: reuse actions from getSampleBlock in readImpl.
2019-10-03 14:58:52 +03:00
alesapin
4fdb5a61e5
Rename ExternalDictionaries to ExternalDictionariesLoader
2019-09-26 13:41:33 +03:00
chertus
cbd96af079
fix use after free (change Join <-> AnalyzedJoin ownership)
2019-09-16 15:37:46 +03:00
chertus
1b313eedfa
MergeJoin in progress
2019-09-09 22:43:37 +03:00
chertus
a395be3e91
minor changes
2019-09-04 19:37:05 +03:00
chertus
b854c945ad
some more ExpressionAnalyzer refactoring
2019-09-04 19:20:02 +03:00
chertus
904cfed046
better includes
2019-09-04 13:15:34 +03:00
chertus
bb3dedf1dc
move Join object from ExpressionAction into AnalyzedJoin
2019-09-03 17:36:02 +03:00
chertus
fce1b47250
more JOIN refactoring: move logic out of ExpressionAnalyzer/ExpressionAction
2019-09-02 22:58:45 +03:00
alexey-milovidov
308baa182e
Merge branch 'master' into table-constraints
2019-08-21 06:33:08 +03:00
Gleb Novikov
86fecc7501
Merge branch 'master' into table-constraints
2019-08-20 12:17:56 +03:00
Nikolai Kochetov
b85c50e7c3
Fix tests.
2019-08-18 17:55:20 +03:00
Nikolai Kochetov
cb848159e1
Merged with master.
2019-08-18 14:52:49 +03:00
chertus
133bd92807
ExpressionAnalyzer.appendJoin() refactoring
2019-08-16 19:50:30 +03:00
Nikolai Kochetov
7da72261a2
Merge branch 'master' into try-to-remove-dry-run
2019-08-16 15:50:48 +03:00
chertus
47a9424190
Merge branch 'master' into refactoring
2019-08-15 18:32:56 +03:00
chertus
994f9f3cc6
unify ActionsVisitor: rewrite as InDepthNodeVisitor
2019-08-15 16:54:59 +03:00
chertus
1b500ade45
remove duplicated include
2019-08-15 14:22:19 +03:00
Nikolai Kochetov
abfaa9620d
Fix style.
2019-08-15 11:09:18 +03:00
Gleb Novikov
f69ceec04c
Removed redundant include of Interpreters/ActionsVisitor.h
2019-08-15 08:40:08 +03:00
chertus
7c566f317c
refactoring: extract SelectQueryExpressionAnalyzer from ExpressionAnalyzer
2019-08-14 22:30:30 +03:00
chertus
047a14a189
one more minor refactoring
2019-08-14 19:53:30 +03:00
chertus
97d6f2218c
minor refactoring
2019-08-14 18:34:32 +03:00
Nikolai Kochetov
287eb633b8
Merged with master
2019-08-14 18:16:52 +03:00
Nikolai Kochetov
5131b6af4b
Fix header for joins. Make function randConstant not constant.
2019-08-14 18:14:32 +03:00
chertus
87fbc2a5cb
minor improvements
2019-08-13 16:48:09 +03:00
chertus
10a1991855
move getAggregates() into SyntaxAnalyzer
2019-08-13 15:39:03 +03:00
chertus
3d00e4b374
remove wrong logic
2019-08-13 13:56:12 +03:00
chertus
f2a03d9d51
several fixes
2019-08-13 03:25:51 +03:00
chertus
15d2561ac8
more ExpressionAnalyzer refactoring
2019-08-12 22:27:09 +03:00
chertus
e06c994b0e
refactoring: move collectUsedColumns from ExpressionAnalyzer to SyntaxAnalyzer
2019-08-09 17:50:04 +03:00
Amos Bird
9950c9442b
Update
2019-08-06 09:34:49 +08:00
Amos Bird
a7db425592
Optimize Count() Cond.
...
Follow up https://github.com/yandex/ClickHouse/pull/6028
2019-08-05 22:15:15 +08:00
alexey-milovidov
149ed67462
Merge pull request #6281 from yandex/fix-low-cardinality-aggregate-arguments
...
Fix LowCardinality arguments conversion in AggregateFunctionFactory
2019-08-03 01:50:21 +03:00
chertus
c5a661a05c
undo wrong changes
2019-08-01 22:56:29 +03:00
chertus
94813b21ba
restore names deduplication
2019-08-01 22:48:21 +03:00
Nikolai Kochetov
a8378e8ef0
Fix LowCardinality arguments conversion for AggregateFunctionFactory.
2019-08-01 21:22:38 +03:00
chertus
4072214b5d
fix UB in join keys order
2019-08-01 20:27:51 +03:00
chertus
504d548d79
AnalyzedJoin refactoring
2019-07-30 21:39:37 +03:00
Alexey Milovidov
47058e8e11
Fixed error
2019-07-21 05:13:42 +03:00
alexey-milovidov
503556ae53
Update ExpressionAnalyzer.cpp
2019-07-16 22:22:05 +03:00
alexey-milovidov
d0c088b9cc
Update ExpressionAnalyzer.cpp
2019-07-16 22:16:25 +03:00
Amos Bird
9fa955403b
Optimize count()
...
Choose the smallest column to count if possible.
2019-07-17 02:29:17 +08:00
Vitaly Baranov
001e4daf25
Read prefix before blocks while executing subquery.
2019-07-11 16:53:26 +03:00
chertus
ef41b16a44
fix wrong ExpressionAnalyzer.array_join_columns calculation
2019-07-08 23:06:17 +03:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
alexey-milovidov
1d98441c34
Update ExpressionAnalyzer.cpp
2019-05-25 13:51:48 +03:00
Constantin S. Pan
cbc0f56af1
Mark all input columns in LIMIT BY as required output
...
The query analyzer only marks the actual arguments of LIMIT BY as required
output for the LimitBy step in the pipeline. This is fine, unless the query is
distributed, in which case the first stage might remove a column that is used
at the second stage (e.g. for ORDER BY) but is not part of the final select.
Prevent removal of any columns in LimitBy by marking all input columns as
required output.
2019-05-24 09:53:09 +01:00
Ivan Lezhankin
0821d62516
Merge ITableDeclaration into IStorage.
...
Also a couple of massive include-refactorings with better forwarding
2019-05-17 17:34:25 +03:00