Vitaly Baranov
ff1fad8521
Use setSetting() with implicit conversion true/false -> Field.
2021-08-23 08:57:00 +03:00
Anton Popov
61239343e3
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-20 16:33:30 +03:00
Alexey Milovidov
24cef99065
Merge branch 'master' into fix-bad-cast
2021-08-08 04:00:29 +03:00
Anton Popov
e36736b50c
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-02 22:52:02 +03:00
Alexander Tokmakov
63ab38ee09
rename MaterializeMySQL to MaterializedMySQL
2021-07-26 21:17:28 +03:00
Alexey Milovidov
a4b6181920
Fix weirdness
2021-07-24 05:07:37 +03:00
Anton Popov
f99374cca6
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-20 18:20:21 +03:00
mergify[bot]
39f71f4a08
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-19 12:27:38 +00:00
Alexey Milovidov
d984fc4301
Fix flaky integration test
2021-07-15 13:35:37 +03:00
Anton Popov
cd05df90f1
fix snapshot for storage Merge
2021-07-09 17:11:44 +03:00
Anton Popov
3ed7f5a6cc
dynamic subcolumns: add snapshot for storage
2021-07-09 06:15:41 +03:00
Alexander Tokmakov
0f377fc4d8
Merge branch 'master' into fix_no_column_materialized_mysql
2021-07-05 22:07:56 +03:00
feng lv
1bf7a175b7
fix style
2021-07-02 03:44:42 +00:00
feng lv
fe22563465
fix conflict
2021-07-01 13:09:33 +00:00
Alexander Tokmakov
fd914f3d97
fix 'Not found column' error in MaterializeMySQL
2021-06-29 20:47:41 +03:00
feng lv
06242f85e6
fix
2021-06-27 06:09:23 +00:00
feng lv
61550f91f2
fix and update test
2021-06-25 15:01:57 +00:00
kssenii
c2ac9b6027
Better
2021-06-25 14:31:56 +00:00
feng lv
07a47b4bd3
fix
2021-06-25 13:51:17 +00:00
feng lv
228e06628a
fix conflict
2021-06-25 08:06:06 +00:00
feng lv
b54287c8da
fix
2021-06-25 08:00:30 +00:00
kssenii
ded9007ca0
Fix
2021-06-25 07:49:38 +00:00
kssenii
ca1f336c46
Aliases for storageMerge fix
2021-06-25 05:28:44 +00:00
Vladimir
6af272891a
Merge pull request #24870 from azat/mv-dist-join-fix
2021-06-18 11:18:43 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
feng lv
1ffd380903
use full match for storageMerge
2021-06-13 08:03:19 +00:00
vdimir
26c59961ae
Minor style changes in StorageMaterializedView::read, StorageMerge::createSources
2021-06-12 12:27:05 +03:00
feng lv
41b518012f
fix and add test
2021-06-08 03:11:27 +00:00
feng lv
b40bb00b8d
merge support repr database
2021-06-07 09:14:29 +00:00
feng lv
32c45d14ab
a little
2021-06-04 14:48:48 +00:00
Azat Khuzhin
578ecc1645
removeJoin: remove joined columns
2021-06-03 21:07:47 +03:00
Nikolai Kochetov
afc1fe7f3d
Make ContextPtr const by default.
2021-05-31 17:49:02 +03:00
Maksim Kita
c50909468f
Updated ExpressionActionSettings
2021-05-19 17:32:07 +03:00
Maksim Kita
150a88d647
ExpressionActions compile only necessary places
2021-05-19 11:43:16 +03:00
feng lv
c6f8ab9826
fix
2021-05-13 02:05:53 +00:00
feng lv
9035e3a643
fix test and conflict
2021-05-11 16:22:24 +00:00
Nikolai Kochetov
3296c9292f
Try to merge projectons faster.
2021-05-11 18:12:26 +08:00
Amos Bird
cd6414639e
add metadata_snapshot to getQueryProcessingStage
2021-05-11 18:12:26 +08:00
Alexey Milovidov
e23a0d8f7e
Fix warnings by PVS-Studio
2021-05-08 23:57:08 +03:00
feng lv
39f68bf5ff
fix conflict
2021-05-02 16:33:45 +00:00
feng lv
aed2f337e9
Fix CLEAR COLUMN does not work after #21303
2021-04-30 05:02:32 +00:00
feng lv
4ffe199d39
Implement table comments
2021-04-23 12:18:23 +00:00
Alexander Tokmakov
ad414bab05
fix assertion when filtering tables in StorageMerge
2021-04-12 22:04:26 +03: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
vdimir
735154c81a
Handle not plain where tree in StorageMerge modifySelect
2021-04-06 12:29:29 +03:00
vdimir
3f464595eb
Accurate removing 'join' part for queries to 'Merge' engine
2021-04-01 14:31:57 +03:00
vdimir
fff8043e55
Revert "Fix joined table access with Merge engine and aggregation"
...
This reverts commit 5476e68d6c
.
2021-04-01 14:31:46 +03:00
vdimir
5476e68d6c
Fix joined table access with Merge engine and aggregation
2021-04-01 14:26:28 +03:00
Alexey Milovidov
230b2930b7
Merge branch 'master' into virtualutil
2021-03-30 00:43:00 +03:00
Nikolai Kochetov
a669f7d641
Merge branch 'master' into refactor-actions-dag
2021-03-05 18:21:14 +03:00
Nikolai Kochetov
9a39459888
Refactor ActionsDAG
2021-03-04 20:38:12 +03:00
Amos Bird
909cb3c243
Fix again....
2021-03-04 22:27:07 +08:00
Amos Bird
9205fad8c7
Better
2021-03-04 19:43:03 +08:00
Nikolai Kochetov
15921fbfcb
Remove index by name from ActionsDAG
2021-03-03 23:01:07 +03:00
feng lv
a26c9e64a9
fix
...
fix
2021-03-02 03:20:03 +00:00
feng lv
51021c1164
forbid to drop a column if it's referenced by materialized view
2021-02-28 05:24:39 +00:00
Nikolai Kochetov
e3d6ffd9dc
Remove AddingConstColumn step and transform.
2021-02-04 17:25:11 +03:00
sundy-li
ad01534bd5
Merge branch 'master' into alias_column_partition_prune
2021-01-12 18:28:30 +08:00
Alexey Milovidov
dab4719aac
Remove some headers
2021-01-05 06:22:06 +03:00
sundyli
f8815f233c
Merge branch 'master' into alias_column_partition_prune
2021-01-02 11:23:55 +08:00
Alexey Milovidov
203af8b7ec
Fix error
2020-12-30 16:52:37 +03:00
Vitaly Baranov
da18af96a3
Fix access rights required for the merge() table function.
2020-12-17 12:29:07 +03:00
sundy-li
5c9f84b2f4
Merge branch 'master' into alias_column_partition_prune
2020-12-16 18:44:00 +08:00
alexey-milovidov
22aba554c0
Revert "Fix access rights required for the merge() table function."
2020-12-15 18:07:20 +03:00
sundy-li
cf087002db
Merge branch 'master' into alias_column_partition_prune
2020-12-15 16:37:00 +08:00
Vitaly Baranov
9310437920
Fix access rights required for the merge() table function.
2020-12-13 23:34:53 +03:00
sundyli
36ca21c24a
Merge branch 'master' into alias_column_partition_prune
2020-12-13 00:45:14 +08:00
sundy-li
9407028540
update
2020-12-13 00:42:15 +08:00
root
e07374331a
add diagnostic information when two merge tables try to read each other's data
2020-12-07 15:23:58 +08:00
Alexey Milovidov
9969a73d50
Merge branch 'master' into azat-merge-distributed-join-fix
2020-11-23 12:43:15 +03:00
tavplubix
5cc9cb01cd
Merge pull request #16751 from amosbird/globalcontext
...
Make global_context consistent.
2020-11-22 18:46:17 +03:00
Amos Bird
1d9d586e20
Make global_context consistent.
2020-11-20 18:23:14 +08:00
Azat Khuzhin
5297417050
Fix Merge(Distributed()) with JOIN
2020-11-20 00:07:30 +03:00
Nikolai Kochetov
13eceff55c
Remove Converting transform and step.
2020-11-17 20:16:55 +03:00
Nikolai Kochetov
195c941c4e
Merge branch 'master' into storage-read-query-plan
2020-11-10 15:02:22 +03:00
Alexey Milovidov
5314185e25
Merge branch 'master' into azat-optimize_skip_unused_shards-optimization
2020-11-08 00:17:59 +03:00
Nikolai Kochetov
c10f733587
Merge branch 'master' into storage-read-query-plan
2020-11-06 15:43:46 +03:00
Azat Khuzhin
e7f15dff55
Do not pass StoragePtr to ReadInOrderOptimizer::getInputOrder()
...
Looks like this is not required anymore, since #11745
2020-11-03 21:22:46 +03:00
Nikolai Kochetov
7fa045cff8
Merge branch 'master' into storage-read-query-plan
2020-10-22 13:31:10 +03:00
alesapin
c53f59dece
Merge pull request #15984 from ClickHouse/fix_insert_mv_dangling_ref
...
Fix possibly dangling reference to target table of MV
2020-10-21 12:13:51 +03:00
Alexander Tokmakov
c19d2efd88
add more holders
2020-10-16 20:16:58 +03:00
Nikolai Kochetov
e8038ae84f
Merge pull request #15857 from amosbird/e2
...
Refactor processors.
2020-10-15 10:45:00 +03:00
Alexander Tokmakov
72b1339656
Revert "Revert "Write structure of table functions to metadata""
...
This reverts commit c65d1e5c70
.
2020-10-14 15:19:29 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:29 +03:00
alexey-milovidov
f60ccb4edf
Merge pull request #14295 from ClickHouse/write_structure_of_table_functions
...
Write structure of table functions to metadata
2020-10-13 23:56:09 +03:00
Amos Bird
47fcd8bffb
Fix some problems introduced by refactoring.
2020-10-12 17:58:09 +08:00
Amos Bird
d2dcfc3f0d
Refactor processors.
2020-10-12 17:30:05 +08:00
Alexander Tokmakov
a6178cc876
try fix select count() for MaterializeMySQL
2020-10-08 23:39:24 +03:00
Nikolai Kochetov
f9bf1e3406
Merge branch 'master' into storage-read-query-plan
2020-10-06 09:50:10 +03:00
Azat Khuzhin
b838214a35
Pass non-const SelectQueryInfo (and drop mutable qualifiers)
2020-10-02 22:42:35 +03:00
Azat Khuzhin
587cde853e
Avoid skipping unused shards twice (for query processing stage and read itself)
2020-10-02 22:42:09 +03:00
Alexander Tokmakov
6b2da861dc
Merge branch 'master' into write_structure_of_table_functions
2020-10-02 20:46:58 +03:00
Nikolai Kochetov
ec64def384
Use QueryPlan while reading from MergeTree.
2020-10-01 20:34:22 +03:00
Artem Zuikov
0ac18a382f
Fix JOIN with GROUP BY over StorageMerge ( #15242 )
2020-09-30 23:11:27 +03:00
Azat Khuzhin
4043be3121
Add new query processing stage WithMergeableStateAfterAggregation
...
Process query until the stage where the aggregate functions were
calculated and finalized.
It will be used for optimize_distributed_group_by_sharding_key.
v2: fix aliases
v3: Fix protocol ABI breakage due to WithMergeableStateAfterAggregation
Conditions >= for QueryProcessingStage::Enum has been verified, and they
are ok (in InterpreterSelectQuery).
2020-09-03 00:51:08 +03:00
Alexander Tokmakov
3a9779adb4
slightly better code
2020-09-01 17:41:49 +03:00
Alexander Tokmakov
b6093d9a86
fix query header
2020-09-01 13:37:42 +03:00
Artem Zuikov
89e9673336
Hotfix for pushdown with StorageMerge ( #13679 )
2020-08-14 12:38:18 +03:00
Nikolai Kochetov
20e63d2271
Refactor Pipe [part 6]
2020-08-06 15:24:05 +03:00
Nikolai Kochetov
2cca4d5fcf
Refactor Pipe [part 2].
2020-08-03 16:54:14 +03:00