Commit Graph

488 Commits

Author SHA1 Message Date
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
Nikolai Kochetov
d7992b11d8 Fix block structure mismatch in MergingSorted stream. 2018-11-06 13:11:37 +03:00
chertus
4ff0391ca6 DatabaseAndTableWithAlias - the only place for db & table expraction from AST 2018-10-30 19:31:21 +03:00
chertus
d2518fdb3f more refactoring: funcs to extract database_and_table from AST 2018-10-29 22:04:28 +03:00
Nikolai Kochetov
d2f0925685 Uniform headers for union stream. #2156 2018-10-23 21:01:38 +03:00
Alexey Milovidov
50234013b5 Whitespaces [#CLICKHOUSE-4016] 2018-10-14 11:23:21 +03:00
Alexey Milovidov
e752271d99 Added check for invalid PREWHERE #3336 2018-10-11 23:52:25 +03:00
CurtizJ
16bea3d008 remove logs 2018-10-10 20:09:09 +03:00
CurtizJ
815380b8b2 fix unnecessarily preparations for join at initial server 2018-10-10 20:07:21 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
Nikolai Kochetov
b1fa3fab9d Fix prewhere whith final. #2827 2018-10-04 21:18:54 +03:00
zhang2014
6778220ffd ISSUES-3232 remake interpreter_subquery when rewrite subqueries 2018-09-30 17:27:59 +08:00
Nikolai Kochetov
97add69825 Rename WithDictionary to LowCardinality. 2018-09-28 13:44:59 +03:00
Alexey Milovidov
8e7c6598e8 Added remerge step to process ORDER BY with LIMIT when memory usage is high #3179 2018-09-24 23:07:30 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
Low cardinality group by
2018-09-21 13:38:20 +03:00
CurtizJ
b89feb1572 replace bool by enum 2018-09-20 20:51:42 +03:00
CurtizJ
8644853558 optimize 2018-09-20 18:46:37 +03:00
CurtizJ
43951e4879 add test 2018-09-17 22:16:51 +03:00
CurtizJ
8c9fe80d2d add modificator cube 2018-09-17 21:01:04 +03:00
Nikolai Kochetov
16ed282dfc Fix build. 2018-09-14 12:42:38 +03:00
Nikolai Kochetov
3dc5cd3a3a Merged with master. 2018-09-14 12:14:37 +03:00
Nikolai Kochetov
4674beb900 Shared cache for low cradinality single aggregation column. [#CLICKHOUSE-3903] 2018-09-14 11:04:18 +03:00
Nikolai Kochetov
787e814e4c Low cardinality group by signle column. [#CLICKHOUSE-3903] 2018-09-14 11:03:02 +03:00
zhang2014
5834b42083 ISSUES-2560 fix crash when create temporary with in clause 2018-09-11 19:31:59 +08:00
Alexey Milovidov
c9b612de48 Attempt to fix CLICKHOUSE-3888 bug 2018-09-10 06:59:48 +03:00
Nikolai Kochetov
8b658f091d Fix test. 2018-09-07 21:00:53 +03:00
Nikolai Kochetov
6e41be3476 Avoid removing columns used in sample expression in prewhere actions. [#CLICKHOUSE-3969] 2018-09-07 19:01:21 +03:00
Nikolai Kochetov
a6b51d1fc7 Fix virtual columns for prewhere with aliases. 2018-09-06 22:18:38 +03:00
Nikolai Kochetov
8593145794 Merged with master 2018-09-06 21:30:03 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
Nikolai Kochetov
641771f66f Fix virtual columns for prewhere with aliases. 2018-09-06 20:45:49 +03:00
alesapin
f331b48c58 Fix build 2018-09-06 12:52:22 +03:00
Nikolai Kochetov
ee89ddb445 Fix removing source aliased columns. [#CLICKHOUSE-3965] 2018-09-06 12:41:42 +03:00
Alexander Sapin
03174e131d Merge remote-tracking branch 'upstream/master' 2018-09-06 12:39:42 +03:00
Alexey Milovidov
9df01c1012 Style #2948 2018-09-06 04:06:30 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
Anton Popov
7f71bc4189
Update InterpreterSelectQuery.cpp 2018-09-05 19:29:13 +03:00
Anton Popov
e6d49c4c93
Update InterpreterSelectQuery.cpp 2018-09-05 19:28:30 +03:00
CurtizJ
472adf4ab9 add rollup to formatted query 2018-09-05 19:23:28 +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
Nikolai Kochetov
8b9937ec51 More comments. [#CLICKHOUSE-3944] 2018-09-04 21:50:19 +03:00
Nikolai Kochetov
3c6db8ebc1 Fix prewhere with aliased columns. [#CLICKHOUSE-3944] 2018-09-04 21:28:01 +03:00
alesapin
11d248ba10 Resolve conflict 2018-09-03 13:11:10 +03:00
CurtizJ
3bc743c50d do not merge blocks into one 2018-09-03 12:49:04 +03:00
alesapin
6e64067a70 CLICKHOUSE-3800: Move cache to context, change hashing algorithm, add drop instruction for compiled expressions cache 2018-08-30 19:31:20 +03:00
CurtizJ
a603595120 remove redundant code 2018-08-28 12:27:17 +03:00
Alexey Milovidov
5b257c588f Enabling -Wshadow [#CLICKHOUSE-2] 2018-08-27 20:42:13 +03:00