Anton Popov
880ed24565
move comment
2021-06-21 18:31:18 +03:00
Anton Popov
662d5b8495
fix ALTER MODIFY COLUMN of columns, that participates in TTL expressions
2021-06-21 18:20:18 +03:00
alesapin
ca4628d31c
Merge pull request #25197 from ClickHouse/disable-paln-optimizations-for-mutations
...
Do not optimize query plan for mutations.
2021-06-15 17:15:36 +03:00
Nikolai Kochetov
52f60692c8
Do not optimize query plan for mutations.
2021-06-11 11:48:12 +03:00
Ivan Lezhankin
ae38b4a3f1
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-06-02 16:07:59 +03:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
Ivan Lezhankin
bd16dd22b9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-05-14 15:40:33 +03:00
Amos Bird
264cff6415
Projections
...
TODO (suggested by Nikolai)
1. Build query plan fro current query (inside storage::read) up to WithMergableState
2. Check, that plan is simple enough: Aggregating - Expression - Filter - ReadFromStorage (or simplier)
3. Check, that filter is the same as filter in projection, and also expression calculates the same aggregation keys as in projection
4. Return WithMergableState if projection applies
3 will be easier to do with ActionsDAG, cause it sees all functions, and dependencies are direct (but it is possible with ExpressionActions also)
Also need to figure out how prewhere works for projections, and
row_filter_policies.
wip
2021-05-11 18:12:23 +08:00
Ivan Lezhankin
cdd825b18b
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-04-23 18:08:25 +03:00
Anton Popov
0a0c510aa2
minor fixes
2021-04-20 05:51:07 +03:00
Ivan Lezhankin
00e8571088
Fix for alter update and IN operator
2021-04-14 18:35:52 +03:00
hexiaoting
61e2ffc0dd
Fix build error
2021-04-14 16:53:06 +08:00
hexiaoting
4f36ac7f64
Fix error
2021-04-13 17:31:49 +08:00
hexiaoting
52bdec396b
Merge remote-tracking branch 'origin/master' into dev_nested_upadte
2021-04-13 09:56:47 +08:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
hexiaoting
8c60f95551
Fix error
2021-04-07 10:39:01 +08:00
hexiaoting
6e8583a028
Add array size check for Nested Type subcolumns when Update
2021-04-02 19:31:33 +08:00
Nikolai Kochetov
1fb81631ad
Fix style.
2021-03-11 21:00:55 +03:00
Nikolai Kochetov
a5a8a70e6f
Remove commented code.
2021-03-11 20:03:39 +03:00
Nikolai Kochetov
4f133ae036
Merge branch 'master' into refactor-actions-dag
2021-03-10 12:40:55 +03:00
Nikolai Kochetov
5ef9d87790
Fix some other tests.
2021-03-10 11:41:24 +03:00
Nikolai Kochetov
fc415952ce
Try fix test.
2021-03-05 16:56:44 +03:00
alesapin
aff86b1da2
Fix deadlock in delete mutations when predicate contains table itself
2021-03-05 15:32:55 +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
d91b8a3acb
Merge branch 'master' into filter-push-down
2021-02-26 19:33:27 +03:00
Nikolai Kochetov
d328bfa41f
Review fixes. Add setting max_optimizations_to_apply.
2021-02-26 19:29:56 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Nikolai Kochetov
1846bb3cac
Merge branch 'master' into actions-dag-f14
2020-11-11 13:08:57 +03:00
Vladimir Chebotarev
059357d51e
ALTER UPDATE/DELETE ... IN PARTITION
with partition pruning in ReplicatedMergeTree
(#13403 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-11-10 13:23:46 +03:00
Nikolai Kochetov
07a7c46b89
Refactor ExpressionActions [Part 3]
2020-11-03 14:28:28 +03:00
Nikolai Kochetov
53d4e5d195
Merge branch 'master' into expression-dag
2020-09-29 12:15:50 +03:00
Nikolai Kochetov
a8e671f015
Fix MutationsInterpreter.
2020-09-16 11:58:27 +03:00
Nikolai Kochetov
118a8a513e
Update mutations interpreter.
2020-09-15 20:13:13 +03:00
Nikolai Kochetov
4aed515e19
Add ExpressionDAG [Part 5].
2020-09-13 16:51:31 +03:00
Nikolai Kochetov
b461f97e4a
Add ExpressionDAG [Part 4].
2020-09-11 15:24:41 +03:00
Nikolai Kochetov
acfd35a908
Update QueryPipeline::addCreatingSetsTransform
2020-09-02 16:04:54 +03:00
Nikolai Kochetov
4ceb12b1de
Use QueryPipeline in MutationsInterpreter.
2020-08-31 15:45:20 +03:00
Nikolai Kochetov
7c0fcb2039
Merge pull request #13611 from ClickHouse/array-join-processor
...
Refactor ARRAY JOIN
2020-08-20 17:56:37 +03:00
Nikolai Kochetov
5cd4312529
Review fixes.
2020-08-19 22:33:49 +03:00
Alexey Milovidov
4e88ba9a3e
Fix typo
2020-08-15 17:50:56 +03:00
Nikolai Kochetov
8e631a98ea
Refactor ActionsChain.
2020-08-14 21:24:58 +03:00
Alexey Milovidov
12f66fa82c
Fix 99% of typos
2020-08-08 04:01:47 +03:00
alesapin
4b75be44a3
Fix arcadia build
2020-07-27 16:04:13 +03:00
alesapin
1707f84a44
Less strict check and rare rename bug
2020-07-27 12:42:37 +03:00
alesapin
e0bf5913e7
Fix sticking mutations
2020-07-26 17:21:57 +03:00
Artem Zuikov
2afd123eda
Refactoring: extract TreeOptimizer from SyntaxAnalyzer ( #12645 )
2020-07-22 20:13:05 +03:00
alexey-milovidov
c91c8608d8
Merge pull request #12633 from ClickHouse/alter-update-cast
...
Fix "There is no supertype" error on ALTER UPDATE #7306
2020-07-22 08:05:23 +03:00
Alexey Milovidov
e3594b89ea
Fix typo
2020-07-21 20:48:54 +03:00