Anton Popov
61239343e3
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-20 16:33:30 +03:00
Nikolai Kochetov
66fdb859f3
Merge pull request #27528 from amosbird/projection-fix12
...
Fix projection materialization with missing columns
2021-08-13 15:20:51 +03:00
Amos Bird
e63c26edb7
Fix projection materialization with missing columns
2021-08-10 21:47:27 +08:00
kssenii
9ca422f0c5
Introduce CAST for internal usage
2021-08-07 09:03:10 +00:00
terrylin
dd539f0a0d
improvement of materilize ttl
2021-08-05 15:33:02 +08:00
terrylin
bd3d9a4518
materialize ttl recalculate only (optional)
2021-08-05 14:17:48 +08:00
terrylin
88b9e7f24f
materialize ttl recalculate only optional
2021-08-04 22:16:13 +08:00
Anton Popov
e36736b50c
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-02 22:52:02 +03:00
terrylin
09a4f82d0f
code style check
2021-07-31 20:36:40 +08:00
terrylin
c49c2e5e18
fix compile error
2021-07-30 17:15:04 +08:00
terrylin
55f3e7e65a
improvement of materilize ttl
2021-07-30 12:27:15 +08:00
Nikolai Kochetov
fd754430eb
Remove more streams.
2021-07-22 19:05:52 +03:00
Anton Popov
3ed7f5a6cc
dynamic subcolumns: add snapshot for storage
2021-07-09 06:15:41 +03:00
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
Alexey Milovidov
fe5fb271dc
Fix "There is no supertype" error on ALTER UPDATE #7306
2020-07-21 16:31:59 +03:00
Alexey Milovidov
1ca45c1b7e
Fix mutations interpreter #9088
2020-07-06 09:05:48 +03:00
Alexey Milovidov
6483ba7d52
Style
2020-07-06 05:07:55 +03:00
Alexey Milovidov
f08ff9010e
Whitespace
2020-07-06 04:57:10 +03:00
alesapin
d79982f497
Better locks in Storages
2020-06-18 19:10:47 +03:00
alesapin
dffdece350
getColumns in StorageInMemoryMetadta (only compilable)
2020-06-17 19:39:58 +03:00
alesapin
ed8f3b2fc4
TTL in storage in memory metadata
2020-06-17 16:39:26 +03:00
alesapin
eca6e9087e
Fix race condition
2020-06-17 14:52:19 +03:00
alesapin
ba04d02f1e
Compilable sorting key in metadata
2020-06-17 14:05:11 +03:00
alesapin
ab61abccc1
Partition key in StorageInMemoryMetadata
2020-06-17 13:34:23 +03:00
alesapin
62f2c17a66
Secondary indices in StorageInMemoryMetadata
2020-06-17 12:38:47 +03:00
alesapin
0bcd22008a
Get column dependencies in StorageInMemoryMetadata
2020-06-16 15:19:21 +03:00
alesapin
663e92b1c5
Rename to methods
2020-06-01 14:29:11 +03:00
alesapin
3847ea892d
Merge branch 'master' into consistent_metadata3
2020-06-01 13:17:59 +03:00
Nikolai Kochetov
28cc6d9c6b
Try fix tests.
2020-05-28 17:03:32 +03:00
alesapin
f5e5290c0a
Better naming
2020-05-28 16:09:03 +03:00
alesapin
26a9829e04
Indices description as vector
2020-05-28 15:47:17 +03:00
alesapin
52ca6b2051
I'm able to build it
2020-05-28 15:37:05 +03:00
alesapin
616902a995
Sorting and primary key (broken)
2020-05-20 21:11:38 +03:00
alesapin
8bc527eecd
Compile partition key
2020-05-20 15:16:55 +03:00
Alexey Milovidov
0a7edce036
Checkpoint
2020-04-22 09:01:33 +03:00
Alexander Kazakov
d480707c12
Fixed clang build + tweaked comment
2020-04-13 23:02:44 +03:00
alexey-milovidov
45e85724a6
Update MutationsInterpreter.cpp
2020-04-13 21:33:25 +03:00
Alexander Kazakov
0aa4c85602
Fixed style checker complaint
2020-04-13 20:04:17 +03:00
Alexander Kazakov
e05e2c7628
Fixed check for nondeterministic functions to handle lambdas correctly
2020-04-13 17:34:11 +03:00
Mikhail Filimonov
2f5b4b0f9b
Added ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting.
2020-04-10 22:01:10 +02:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00