Commit Graph

275 Commits

Author SHA1 Message Date
Nikolai Kochetov
4d697c27e4 Fix some tests. 2021-03-09 19:54:06 +03:00
Vladimir
6ec19b2632
Merge pull request #19885 from ClickHouse/vdimir/join-cast-types-v2 2021-03-09 09:30:50 +03:00
Nikolai Kochetov
c481401b0b Fix build. 2021-03-05 12:54:17 +03:00
Nikolai Kochetov
9a39459888 Refactor ActionsDAG 2021-03-04 20:38:12 +03:00
Nikolai Kochetov
15921fbfcb Remove index by name from ActionsDAG 2021-03-03 23:01:07 +03:00
Nikolai Kochetov
4775ea305e Remove index by name from ActionsDAG 2021-03-02 20:51:54 +03:00
Nikolai Kochetov
ffaf9da2db Remove index by name from ActionsDAG 2021-03-02 20:08:59 +03:00
Nikolai Kochetov
ffbea93b10
Merge pull request #19576 from traceon/row-policy-with-prewhere
Allow row policies with PREWHERE
2021-03-02 13:51:37 +03:00
Nikolai Kochetov
d328bfa41f Review fixes. Add setting max_optimizations_to_apply. 2021-02-26 19:29:56 +03:00
Nikolai Kochetov
00e0dbc3e5 Fix test. 2021-02-20 20:42:06 +03:00
Nikolai Kochetov
f0396661b3 Refactor ActionsDAG::splitActionsForFilter 2021-02-20 19:13:36 +03:00
vdimir
a378bd08aa
Perform implicit type conversion for JOIN ON keys 2021-02-19 14:28:40 +03:00
Nikolai Kochetov
6522bfc402 Support for DIstinct, sorting steps. 2021-02-17 19:54:11 +03:00
Nikolai Kochetov
a8647096ed Try fix tests. 2021-02-17 13:27:47 +03:00
Nikolai Kochetov
ae73600fb0 Refactor row level security actions. 2021-02-15 22:48:06 +03:00
Nikolai Kochetov
f1c32c4690 Merge branch 'master' into filter-push-down 2021-02-12 18:26:08 +03:00
Nikolai Kochetov
bbed905461 Fix ActionsDAG::removeUnusedResult 2021-02-12 18:20:54 +03:00
Nikolai Kochetov
7e75965af8 Fix ActionsDAG::splitActionsForFilter 2021-02-12 12:35:26 +03:00
Nikolai Kochetov
2deff0d9d0 Fix ActionsDAG::splitActionsForFilter 2021-02-11 18:44:10 +03:00
Nikolai Kochetov
e24b8e8a13 Fix ActionsDAG::splitActionsForFilter 2021-02-11 15:06:28 +03:00
alesapin
c2bb2c2902
Merge pull request #20097 from ClickHouse/remove-adding-missed-step
Build actions dag to evaluate missing defaults.
2021-02-11 10:51:21 +03:00
Nikolai Kochetov
a83885392e Split filter for predicate push down. 2021-02-10 20:47:48 +03:00
Nikolai Kochetov
48f6f7e490 Split filter for predicate push down. 2021-02-10 19:26:49 +03:00
alesapin
420f2958e2
Merge pull request #19991 from ClickHouse/constant-propagation-fix
Do not use inputs which values are known constants in ActionsDAG.
2021-02-10 14:13:52 +03:00
Nikolai Kochetov
d7fa440356
Merge branch 'master' into remove-adding-const-column-transform 2021-02-08 15:49:23 +03:00
Nikolai Kochetov
d563cfb2be Fix tests. 2021-02-05 22:22:11 +03:00
Nikolai Kochetov
e49315e058 Fix tests. 2021-02-05 19:52:50 +03:00
Nikolai Kochetov
a7f58da87e Fix tests. 2021-02-05 19:35:21 +03:00
Nikolai Kochetov
31384cd652 Fix test. 2021-02-05 17:37:49 +03:00
Nikolai Kochetov
d9aa1096cf Build actions dag to evaluate missing defaults. 2021-02-04 23:36:50 +03:00
Nikolai Kochetov
e3d6ffd9dc Remove AddingConstColumn step and transform. 2021-02-04 17:25:11 +03:00
Nikolai Kochetov
7a2279d067 Fix removing filter column from expression after Filter actions split 2021-02-04 14:44:00 +03:00
Nikolai Kochetov
73002eb3b7 Fix constant propagation. 2021-02-03 13:29:44 +03:00
Nikolai Kochetov
998aed3029 Do not use inputs which values are known constants in ActionsDAG. 2021-02-02 14:58:35 +03:00
Nikolai Kochetov
f7dc83ae96
Merge pull request #19725 from ClickHouse/limit-push-down
Update QueryPlan tree optimization traverse.
2021-01-30 16:34:46 +03:00
Nikolai Kochetov
e1765e7f88 Add method trivial to ActionsDAG 2021-01-28 14:00:24 +03:00
Nikolai Kochetov
d13ec0d909 Fix crash after mergine ActionsDAG. 2021-01-27 14:10:09 +03:00
Nikolai Kochetov
d683bf42ce Review fixes. 2021-01-22 16:46:56 +03:00
Nikolai Kochetov
f4a718aab9 Fix tests. 2021-01-19 17:53:51 +03:00
Nikolai Kochetov
b0b3cfbd02 Split filter optimization. 2021-01-19 14:48:09 +03:00
Nikolai Kochetov
b00f01d6b1 Split filter optimization. 2021-01-19 13:03:25 +03:00
Nikolai Kochetov
b9c0f2b4c9 Push actions result to begin of block. 2021-01-19 00:54:01 +03:00
Nikolai Kochetov
c00471bd1c Update tryLiftUpArrayJoin 2021-01-18 23:52:33 +03:00
Nikolai Kochetov
d914bf9552 Update tryLiftUpArrayJoin 2021-01-18 23:34:46 +03:00
Nikolai Kochetov
31a40880b4 Update tryLiftUpArrayJoin 2021-01-18 22:56:34 +03:00
Nikolai Kochetov
7135c62204 Update tryLiftUpArrayJoin 2021-01-18 19:12:16 +03:00
Nikolai Kochetov
8bafe9cca3 Support split for ActionsDAG. 2021-01-18 17:59:59 +03:00
Nikolai Kochetov
74cdf98e8f Try to fix ActionsDAG::merge. 2021-01-12 21:58:05 +03:00
Nikolai Kochetov
1937659450 Add more info for ActionsDAG 2021-01-12 21:47:54 +03:00
Nikolai Kochetov
24d462b018 Try to remove ActionsDAG::removeColumn 2021-01-11 19:15:03 +03:00
Alexander Kuzmenkov
3f33e6b3e0 some review fixes 2020-12-22 20:46:31 +03:00
Alexander Kuzmenkov
5e19eaf2f0 Merge remote-tracking branch 'origin/master' into tmp 2020-12-18 03:49:59 +03:00
Alexander Kuzmenkov
fabb37d3c9 cleanup 2020-12-15 20:39:58 +03:00
Alexander Kuzmenkov
6d5b23de67 something works 2020-12-15 03:36:03 +03:00
Maksim Kita
0464859cfe Updated usage of different types during IN query
1. Added accurateCast function.
2. Use accurateCast in Set during execute.
3. Added accurateCast tests.
4. Updated select_in_different_types tests.
2020-12-14 22:12:15 +03:00
Nikolai Kochetov
d9773942a2 Rewiev fixes. 2020-12-01 14:19:03 +03:00
Nikolai Kochetov
a2c450d7e2 Do not merge functions with arrayJoin and stateful functions. 2020-11-27 12:50:56 +03:00
Nikolai Kochetov
600f249790 Do not remove arrayJoin from actions 2020-11-27 12:11:34 +03:00
Nikolai Kochetov
6ed4916d5d Fix ActionsDAG::merge 2020-11-26 22:48:21 +03:00
Nikolai Kochetov
c975f8156a Add ActionsDAG::merge 2020-11-26 19:16:44 +03:00
Nikolai Kochetov
382e6d0855 Review fix. 2020-11-20 19:52:50 +03:00
Nikolai Kochetov
354620b5a1 Remove Converting transform and step. 2020-11-18 12:35:32 +03:00
Nikolai Kochetov
a24dab766f Remove Converting transform and step. 2020-11-18 12:08:51 +03:00
Nikolai Kochetov
8dd76a3ab5 Remove Converting transform and step. 2020-11-18 00:31:30 +03:00
Nikolai Kochetov
76346c0563 Remove Converting transform and step. 2020-11-17 22:43:26 +03:00
Nikolai Kochetov
d9a83a6086 Remove Converting transform and step. 2020-11-17 21:36:13 +03:00
Nikolai Kochetov
26ec254c69 Fix style. 2020-11-17 19:24:25 +03:00
Nikolai Kochetov
fd3ee6d8af Add converting logic to ActionsDAG. 2020-11-17 18:57:11 +03:00
Nikolai Kochetov
a7e1fb11c6 Add converting logic to ActionsDAG. 2020-11-17 18:26:06 +03:00
Nikolai Kochetov
97d07ae3a9 Add converting logic to ActionsDAG. 2020-11-17 17:54:37 +03:00
Nikolai Kochetov
54f0338e22 Add converting logic to ActionsDAG. 2020-11-17 17:51:05 +03:00
Nikolai Kochetov
d007e5671d Order inputs for ActionsDAG. 2020-11-17 15:39:41 +03:00
Nikolai Kochetov
70f898e667 Order inputs for ActionsDAG. 2020-11-17 15:34:31 +03:00
Nikolai Kochetov
9814da3291 Add empty commit. 2020-11-17 10:03:11 +03:00
Nikolai Kochetov
e8e6461fa7 Move ActionsDAG to separate file. 2020-11-16 17:57:56 +03:00