Commit Graph

154 Commits

Author SHA1 Message Date
CurtizJ
9e75892516 refactoring of order by optimization 2019-12-11 02:18:24 +03:00
alexey-milovidov
ef66c453c4
Update ExpressionAnalyzer.h 2019-12-03 05:09:05 +03:00
alexey-milovidov
cdaa913d1f
Update ExpressionAnalyzer.h 2019-12-03 05:08:41 +03:00
Nikita Mikhaylov
1d170ed607 use set from storage set for set in index 2019-11-22 18:45:03 +03:00
Nikita Mikhaylov
b0e24b6c92 better naming 2019-11-13 16:52:08 +03:00
Nikita Mikhaylov
c8bfa6db59 done 2019-11-13 15:43:55 +03:00
Nikolai Kochetov
3142955e6c InterpreterSelectQuery: reuse actions from getSampleBlock in readImpl. 2019-10-03 14:58:52 +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
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
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
15d2561ac8 more ExpressionAnalyzer refactoring 2019-08-12 22:27:09 +03:00
alexey-milovidov
8520288044
Merge pull request #6416 from 4ertus2/some
Refactoring: move collectUsedColumns() to SyntaxAnalyzer
2019-08-11 05:16:22 +03:00
kreuzerkrieg
112fc71276 adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
chertus
6491de7edd forget to remove field in last patch 2019-08-09 19:17:01 +03:00
chertus
e06c994b0e refactoring: move collectUsedColumns from ExpressionAnalyzer to SyntaxAnalyzer 2019-08-09 17:50:04 +03:00
chertus
504d548d79 AnalyzedJoin refactoring 2019-07-30 21:39:37 +03:00
chertus
24fd416084 remove unused ExpressionAnalyzer settings 2019-07-30 14:41:11 +03:00
Vitaly Baranov
001e4daf25 Read prefix before blocks while executing subquery. 2019-07-11 16:53:26 +03: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
proller
fce9db12b9 Move Interpreters/Settings* -> Core/Settings* 2019-03-22 15:08:30 +03:00
Ivan Lezhankin
a3a8b2bbf7 Include IAST_fwd.h for using ASTPtr 2019-03-11 17:01:45 +03:00
Ivan Lezhankin
a7e838e328 Replace all other casts to method IAST::As<Derived>
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
chertus
9a8db441c3 some mote ExpressionAnalyzer refactoring 2019-02-06 17:48:05 +03:00
chertus
866c2b2e78 move required right keys calculation to Join.cpp 2019-01-30 18:51:39 +03:00
Alexey Zatelepin
f3b4292fc6 add data types to the prepared_sets key for literals #4058 2019-01-23 14:20:01 +03:00
alexey-milovidov
644e9fc31f
Merge pull request #3930 from 4ertus2/ast
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-27 18:36:22 +03:00
chertus
0812f79421 remove unused code 2018-12-26 21:56:21 +03:00
chertus
6ea13516f0 rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996 2018-12-26 17:43:25 +03:00
chertus
cbf3c34cf3 minor improvement in ExpressionAnalyzer + array join 2018-12-19 16:13:51 +03:00
Alexey Milovidov
8889f0859a Fixed typo [#CLICKHOUSE-2] 2018-12-19 06:43:37 +03:00
chertus
8720d3b937 remove stale code 2018-12-18 16:26:04 +03:00
Alexey Zatelepin
d3d9242462 Merge branch 'master' into alter-order-by
Conflicts:
	dbms/src/Parsers/ASTAlterQuery.h
	dbms/src/Parsers/ParserAlterQuery.cpp
	dbms/src/Storages/AlterCommands.cpp
	dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Milovidov
5a0feee45e Removed "conditional computations" feature, because it is not ready #2272 2018-11-26 04:39:04 +03:00
Alexey Zatelepin
29b34365e6 Merge branch 'master' into alter-order-by
Conflicts:
	dbms/src/Interpreters/ExpressionAnalyzer.cpp
	dbms/src/Storages/MergeTree/MergeTreeData.cpp
	dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
7167bfd7b3 fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859] 2018-11-13 16:15:12 +03:00
Alexey Milovidov
03c35f2aa4 Remove Analyzers because it was failed refactoring attempt [#CLICKHOUSE-2] 2018-11-12 18:40:33 +03:00