Commit Graph

66 Commits

Author SHA1 Message Date
Ivan Lezhankin
0a443399a0 Implement the debug query "ANALYZE"
that prints out the query after syntax analysis.
Should be helpful for tests.
2019-02-26 13:17:25 +03:00
chertus
d6450bc488 Refactoring: extract SubqueryForSet to own files 2019-01-30 15:01:00 +03:00
Nikolai Kochetov
726ae0cb9a Split ExpressionAnalyzer and SyntaxAnalyzer. 2018-11-08 19:47:12 +03:00
Nikolai Kochetov
7a5cfc7a6d Skip columns from prewhere_info->remove_columns_actions in prewhere result for alias source columns. [#CLICKHOUSE-4111] 2018-11-07 13:53:36 +03:00
Nikolai Kochetov
8df77930ec Added InterpreterSelectQuery::unifyStreams 2018-11-06 14:44:45 +03:00
chertus
ec8d3b388d move DumpASTNode to own file, style fixes [CLICKHOUSE-4001] 2018-10-09 17:32:11 +03:00
Alexey Milovidov
8bfdcc6464 Fix style [#CLICKHOUSE-2] 2018-09-20 23:57:06 +03:00
CurtizJ
b89feb1572 replace bool by enum 2018-09-20 20:51:42 +03:00
CurtizJ
8c9fe80d2d add modificator cube 2018-09-17 21:01:04 +03:00
CurtizJ
18da41afe3 Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893 2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91 Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
This reverts commit cdb2c8a770.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770 Revert "Merge branch 'master' into CLICKHOUSE-3893"
This reverts commit 0704da5756, reversing
changes made to 4534d449c1.
2018-09-05 12:45:57 +03:00
Alexey Milovidov
5b257c588f Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 20:42:13 +03:00
CurtizJ
cf3fbb8c51 minor changes 2018-08-24 20:37:08 +03:00
CurtizJ
c18ad18d96 Add rollup modificator 2018-08-24 18:00:00 +03:00
CurtizJ
0704da5756 Merge branch 'master' into CLICKHOUSE-3893 2018-08-21 20:34:01 +03:00
CurtizJ
4534d449c1 working on rollup 2018-08-21 19:08:45 +03:00
Alexey Milovidov
2016374d20 Merging #2226 2018-08-05 10:05:43 +03:00
Alexey Zatelepin
55301ce1f0 create input streams for parts using InterpreterSelectQuery [#CLICKHOUSE-3798] 2018-07-20 22:44:34 +03:00
Alexey Zatelepin
f75fb6cd68 refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798] 2018-07-20 22:44:34 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. (#2677)
* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]

* Attempt to fix performance regression [#CLICKHOUSE-3796]

* Removed debug output [#CLICKHOUSE-3796]

* Removed debug output [#CLICKHOUSE-3796]

* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]

* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"

This reverts commit 9eafc13f3b.

* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"

This reverts commit e28ad4b5fe.

* Fixed test #2677

* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
Nikolai Kochetov
ba4cf6faf0 Merged with master. 2018-06-25 15:08:21 +03:00
Alexey Milovidov
f5adbceed2 Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00
Nikolai Kochetov
f5fe383620 fix build 2018-04-20 17:06:01 +03:00
Nikolai Kochetov
a3308bf675 added IStorage::getQueryProcessingStage 2018-04-19 17:47:09 +03:00
Nikolai Kochetov
325f16f8a5 fix perf 2018-04-13 23:09:13 +03:00
Nikolai Kochetov
42f9a4d773 added PrewhereInfo [#CLICKHOUSE-3694] #2156 2018-04-11 22:10:08 +03:00
Nikolai Kochetov
c9abeed3f5 remove unused columns from prewhere actions [#CLICKHOUSE-3694] #2156 2018-04-11 22:08:53 +03:00
Vitaliy Lyudvichenko
30b69c84ae Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637] 2018-03-12 18:14:26 +03:00
Alexey Milovidov
915f84a24f Miscellaneous #1947 2018-03-02 07:05:20 +03:00
Alexey Milovidov
15dc5da190 Fixed error #1947 2018-03-01 09:07:04 +03:00
Alexey Milovidov
f7e0912d81 Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947 2018-03-01 08:24:56 +03:00
Alexey Milovidov
f159be3832 Fixed error #1947 2018-03-01 07:42:18 +03:00
Alexey Milovidov
7fc6e0f16e Better UNION ALL: development #1947 2018-02-28 07:51:09 +03:00
Alexey Milovidov
73e208ff97 Better UNION ALL: development #1947 2018-02-28 05:32:34 +03:00
Alexey Milovidov
9ea0a603a0 Better UNION ALL: development #1947 2018-02-28 04:29:55 +03:00
Alexey Milovidov
8d72ca25d5 Better UNION ALL: development #1947 2018-02-27 22:00:55 +03:00
Alexey Milovidov
5d27e43f96 Better UNION ALL: development #1947 2018-02-27 00:00:42 +03:00
Alexey Milovidov
ac37b89b16 Better UNION ALL: development #1947 2018-02-26 12:05:06 +03:00
Alexey Milovidov
6e93635275 Better UNION ALL: development #1947 2018-02-25 09:35:24 +03:00
Alexey Milovidov
ab594375ab Better UNION ALL: development #1947 2018-02-25 03:50:53 +03:00
Alexey Milovidov
ffc1a76d28 Removed unused method #1947 2018-02-23 12:09:49 +03:00
Alexey Milovidov
0207760c05 Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351] 2018-02-23 09:38:23 +03:00
Alexey Milovidov
1f029c3f15 Preparations #1947 2018-02-23 09:00:48 +03:00
Alexey Milovidov
7063e0cffe Removed unused method #1947 2018-02-23 09:00:03 +03:00
Alexey Milovidov
19a946d8af Preparation [#CLICKHOUSE-2] 2018-02-21 06:54:55 +03:00
Alexey Milovidov
63a9f96198 Preparation [#CLICKHOUSE-2] 2018-02-21 06:49:10 +03:00
Alexey Milovidov
a890473c02 Preparation [#CLICKHOUSE-2] 2018-02-21 06:26:06 +03:00
Alexey Milovidov
4add285d55 Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2] 2018-02-20 02:39:16 +03:00
Alexey Milovidov
fe880d73e7 Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2] 2018-01-09 03:19:58 +03:00