mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
10b4f3b41f
Previous set of QueryProcessingStage does not allow to do this. But after WithMergeableStateAfterAggregation had been introduced the following queries can be optimized too under optimize_distributed_group_by_sharding_key: - GROUP BY sharding_key LIMIT - GROUP BY sharding_key LIMIT BY - GROUP BY sharding_key ORDER BY And right now it is still not supports: - WITH TOTALS (looks like it can be supported) - WITH ROLLUP (looks like it can be supported) - WITH CUBE - SETTINGS extremes=1 (looks like it can be supported) But will be implemented separatelly. vX: fixes v2: fix WITH * v3: fix extremes v4: fix LIMIT OFFSET (and make a little bit cleaner) v5: fix HAVING v6: fix ORDER BY v7: rebase against 20.7 v8: move out WithMergeableStateAfterAggregation v9: add optimize_distributed_group_by_sharding_key into test names |
||
---|---|---|
.. | ||
config | ||
external_models/catboost | ||
fuzz | ||
instructions | ||
integration | ||
perf_drafts | ||
performance | ||
queries | ||
testflows | ||
users.d | ||
.gitignore | ||
clickhouse-client.xml | ||
clickhouse-test | ||
clickhouse-test-server | ||
client-test.xml | ||
CMakeLists.txt | ||
CTestCustom.cmake | ||
decimals_dictionary.xml | ||
ints_dictionary.xml | ||
msan_suppressions.txt | ||
server-test.xml | ||
stress | ||
strings_dictionary.xml | ||
tsan_suppressions.txt | ||
users.xml |