Commit Graph

788 Commits

Author SHA1 Message Date
lgbo-ustc
08c48cf944 update 2024-08-07 08:57:56 +08:00
lgbo-ustc
8f5cf70aab add some comments 2024-08-07 08:57:56 +08:00
lgbo-ustc
2e521e17ed fixed 2024-08-07 08:57:56 +08:00
lgbo-ustc
b35dd3bc02 simplify codes 2024-08-07 08:57:56 +08:00
lgbo-ustc
6e7bffa6ea remove unused codes 2024-08-07 08:57:56 +08:00
lgbo-ustc
632ab91bbb revert format 2024-08-07 08:57:56 +08:00
lgbo-ustc
114284bdce fixed 2024-08-07 08:57:55 +08:00
vdimir
b89107f1ae
Merge branch 'master' into vdimir/multiple_joins_with_storage_join 2024-08-06 11:19:14 +02:00
Michael Kolupaev
3841179a24 Merge remote-tracking branch 'origin/master' into readyornot 2024-08-05 19:58:21 +00:00
Alexey Milovidov
c07089f054 Merge branch 'master' into fix-json-recursion 2024-08-03 19:06:25 +02:00
Nikolai Kochetov
dab5eb9c24 Fix INTERPOLATE by constant. Fix other tests. 2024-08-01 16:16:34 +00:00
Nikolai Kochetov
1f1f0528ce Prefer constant to INPUT in PlannerActionsVisitor. 2024-07-31 14:32:07 +00:00
Dmitry Novik
d6de2be439
Fix build 2024-07-31 16:08:18 +02:00
Dmitry Novik
406ac2279e
Analyzer: Do not traverse unresolved subtrees 2024-07-31 14:48:33 +02:00
Dmitry Novik
d24fe7c7a3
Merge branch 'master' into vdimir/multiple_joins_with_storage_join 2024-07-31 14:04:03 +02:00
Igor Nikonov
cf27f2665e Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-29 20:00:55 +00:00
Amos Bird
985e8ec15e
Clean up projection inside storage snapshot 2024-07-29 22:35:47 +08:00
Nikolai Kochetov
869f6a6f10 Updating PrewhereInfo 2024-07-25 16:33:12 +00:00
Nikolai Kochetov
1973458ae0 Update PlannerWindowFunctions 2024-07-25 15:00:37 +00:00
Nikolai Kochetov
f45276bd9b Merge branch 'master' into use-uniq-ptr-for-actions-dag 2024-07-25 15:22:45 +02:00
Raúl Marín
73ab9a1197 Revert "Merge pull request #65298 from Algunenano/low_cardinality_wtf"
This reverts commit d3a269c61d, reversing
changes made to 023cf118dc.
2024-07-23 19:11:22 +02:00
vdimir
383221b04d
Analyzer: Storage Join support joining with nullable columns 2024-07-23 10:36:18 +00:00
Michael Kolupaev
803b7c2789 Merge remote-tracking branch 'origin/master' into readyornot 2024-07-22 20:49:31 +00:00
Igor Nikonov
9900abade6 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-22 13:45:31 +00:00
vdimir
846922aeae
Merge pull request #55051 from ClickHouse/vdimir/full_sorting_join_improvements
Suppport ASOF JOIN for full_sorting_merge algorithm
2024-07-22 10:28:46 +00:00
Alexey Milovidov
d3a269c61d
Merge pull request #65298 from Algunenano/low_cardinality_wtf
Fix unexpected size of low cardinality column in functions (CONSTANT action from mergeable state)
2024-07-21 09:32:21 +00:00
Nikolai Kochetov
4ebb189691 Better. 2024-07-18 17:59:59 +00:00
Nikolai Kochetov
cda846339b Remove ActionsDAG::clone 2024-07-18 15:12:32 +00:00
vdimir
1ac8ad4eed
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-18 11:33:27 +00:00
Nikolai Kochetov
078aa7a1bd Merge branch 'master' into use-uniq-ptr-for-actions-dag 2024-07-17 10:51:23 +00:00
Igor Nikonov
08dc1c8c37 Fallback to local execution in case of cluster(shard) has only one node 2024-07-16 19:59:16 +00:00
Igor Nikonov
65ba0dd669 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-15 20:42:25 +00:00
Nikolai Kochetov
e0f011ebec
Merge pull request #66433 from ClickHouse/analyzer_constant_gb_keys_again
Fixing constants in GROUP BY keys with analyzer (again)
2024-07-15 17:42:47 +00:00
Igor Nikonov
fdbafdb8db Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-15 12:04:04 +00:00
Nikolai Kochetov
a2a82780eb Merge branch 'master' into use-uniq-ptr-for-actions-dag 2024-07-15 13:25:53 +02:00
Nikolai Kochetov
fb7cf4ab93 Better. 2024-07-12 17:46:03 +00:00
Nikolai Kochetov
a6e737ef2a Cleaner FilterDAGInfo. 2024-07-12 17:19:30 +00:00
Igor Nikonov
04c3661b0b Randomize parallel_replicas_local_plan 2024-07-12 13:42:25 +00:00
Nikolai Kochetov
8c2e4900e3 Introduce isServerConstant() flag to functions. 2024-07-12 10:48:34 +00:00
Raúl Marín
1b75b8f4eb Merge remote-tracking branch 'blessed/master' into mergetree_private 2024-07-11 19:58:54 +02:00
Raúl Marín
56f497bf7f Remove some unnecessary copies 2024-07-11 14:09:00 +02:00
Raúl Marín
9e599576ab Hide Settings object from Context.h 2024-07-11 14:00:05 +02:00
Igor Nikonov
1a8e1eb0fe Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-11 11:14:12 +00:00
vdimir
1bb5ae954d
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-11 10:37:27 +00:00
Nikita Taranov
e7d5992966
Merge pull request #64553 from nickitat/concurrent_hash_join_cache_ht_sizes
Collect hash table sizes statistics in ConcurrentHashJoin
2024-07-10 16:11:27 +00:00
vdimir
c24c33917f
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-10 09:49:51 +00:00
Nikita Taranov
d555a452dc
Merge pull request #65417 from ClickHouse/parallel_replicas_join_bug
Dodging reading from wrong table with parallel replicas
2024-07-10 03:21:16 +00:00
Nikita Taranov
c3c5778384
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-09 13:14:39 +02:00
Nikolai Kochetov
1237f93182 Fixing some crashes. 2024-07-08 15:06:52 +00:00
vdimir
811cba0557
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-08 16:12:37 +02:00
Nikita Taranov
f0bee6584f
Merge branch 'master' into parallel_replicas_join_bug 2024-07-08 14:29:53 +02:00
Nikolai Kochetov
2257f9a2ae Change ActionsDAGPtr to ActionsDAG where possible. 2024-07-05 17:49:50 +00:00
Nikolai Kochetov
7843313f8e
Update PlannerJoinTree.h 2024-07-05 18:20:50 +02:00
Antonio Andelic
8d79663e3b
Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-07-05 14:48:40 +01:00
vdimir
e68c8b6587
Merge branch 'master' into vdimir/join_on_null_fix 2024-07-04 10:41:01 +02:00
Nikita Taranov
37851686ad better variable name 2024-07-03 20:47:07 +01:00
Nikita Taranov
8cb7936838 dedicated setting for joins 2024-07-03 20:28:01 +01:00
Nikita Taranov
b243e4d0fb Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-07-03 19:35:48 +01:00
Nikolai Kochetov
41c62ca663 better 2024-07-03 14:44:47 +00:00
Michael Kolupaev
9df30e4a0f Fix 'Not-ready Set is passed' in system tables 2024-07-03 02:56:33 +00:00
Nikolai Kochetov
9be404c9c7 Fix another case. 2024-07-02 18:02:57 +00:00
Igor Nikonov
6124772cd8 Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-07-02 15:09:40 +00:00
Igor Nikonov
105d39b09f Twick number of threads 2024-07-02 15:06:19 +00:00
Antonio Andelic
cfa86b54ea Review fixes 2024-07-02 16:33:06 +02:00
Antonio Andelic
39932938e2 Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-07-02 12:59:39 +02:00
Raúl Marín
60cb5f229a Merge remote-tracking branch 'blessed/master' into low_cardinality_wtf 2024-07-02 11:51:04 +02:00
Raúl Marín
0e559ff7b9 Better name for flag 2024-07-02 11:50:43 +02:00
vdimir
59bf6f16bd
Merge pull request #64818 from bigo-sg/too_large_hash_join
Refactor `HashJoin` to avoid `too large translation units`
2024-07-02 09:12:02 +00:00
Raúl Marín
85c9692759 Merge remote-tracking branch 'blessed/master' into low_cardinality_wtf 2024-07-01 19:32:37 +02:00
Raúl Marín
74a5d56f1a Fix interpolate and add tests 2024-07-01 19:32:22 +02:00
vdimir
81723dbd01
Merge branch 'master' into vdimir/full_sorting_join_improvements 2024-07-01 10:27:11 +00:00
Igor Nikonov
71b0ab94be Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-06-30 20:54:42 +00:00
Igor Nikonov
2fcca61fe9
Merge pull request #65769 from ClickHouse/fix-progress-bar-read-in-order
Fix: progress bar for read in order queries
2024-06-30 18:07:13 +00:00
Igor Nikonov
a471716a7f Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-06-28 22:18:07 +00:00
Raúl Marín
fed573ffee Extend fix 2024-06-28 17:12:10 +02:00
vdimir
f95434f4c0
Better handling join on nulls 2024-06-28 15:08:06 +00:00
vdimir
8e034c499f
Propigate join_any_take_last_row to hash join in any query 2024-06-28 11:58:10 +00:00
Raúl Marín
c185d60375 Try an ugly fix 2024-06-27 21:59:14 +02:00
Igor Nikonov
7618ce12bb Set total rows for in order queries with limit
+ renaming misleading query_info.limit -> trivial_limit
2024-06-27 18:54:32 +00:00
Nikolai Kochetov
5d9d29e370 Fixing some crashes 2024-06-25 15:00:07 +00:00
Antonio Andelic
8d51815124 Fix 2024-06-25 12:13:44 +02:00
Antonio Andelic
674d1c6243 Merge branch 'master' into merge-tree-parallel-replicas-custom-key 2024-06-25 11:13:24 +02:00
Igor Nikonov
afa4d7fd5c Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-06-24 14:32:05 +00:00
Nikita Taranov
7e64298672
Merge branch 'master' into concurrent_hash_join_cache_ht_sizes 2024-06-20 17:31:40 +02:00
lgbo-ustc
6d3836aca4 refactor hash join to reduce target size 2024-06-20 09:10:23 +08:00
Antonio Andelic
8fee4799b6 Fix style 2024-06-19 17:10:27 +02:00
Antonio Andelic
1ef9bad76f Custom key support for cluster_for_parallel_replicas 2024-06-19 14:46:15 +02:00
Nikita Taranov
0791677268 fix? 2024-06-18 22:36:22 +01:00
Nikita Taranov
ff9c64fa4e fix 2024-06-18 21:04:30 +01:00
Nikolai Kochetov
38537a00aa Make ActionsDAGPtr unique_ptr. 2024-06-18 18:16:12 +00:00
Nikolai Kochetov
153268a29f Renames. 2024-06-18 10:21:57 +00:00
Nikolai Kochetov
aeee0b2c18 Use ActionsDAG ref in PlannerActionsVisitor 2024-06-18 09:33:32 +00:00
Igor Nikonov
08032e97fd Merge remote-tracking branch 'origin/master' into pr-local-plan 2024-06-14 14:10:54 +00:00
Nikolai Kochetov
57e84c0344 Fixing style. 2024-06-14 09:40:11 +00:00
Nikolai Kochetov
3f7286dc51 Fixing build. 2024-06-13 18:08:00 +00:00
Nikolai Kochetov
8bb4f1e188 Merge branch 'master' into remove-dag-flags 2024-06-13 16:28:46 +00:00
Nikolai Kochetov
ae42f8635c Remove flags drom ActionsDAG (part 2). 2024-06-12 16:53:32 +00:00
Nikolai Kochetov
410f0b643d
Merge pull request #65057 from ClickHouse/refactor-prewhere-storage-merge
Refactor query plan prewhere optimization for Merge
2024-06-12 11:50:26 +00:00
vdimir
256ad60115
fix style, clang tidy 2024-06-12 08:45:40 +00:00
vdimir
a8690947c7
enable stateless tessts for full sorting asof join 2024-06-12 08:45:40 +00:00