mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
2fb95d9ee0
Before this patch it wasn't possible to optimize simple SELECT * FROM dist ORDER BY (w/o GROUP BY and DISTINCT) to more optimal stage (QueryProcessingStage::WithMergeableStateAfterAggregationAndLimit), since that code was under allow_nondeterministic_optimize_skip_unused_shards, rework it and make it possible. Also now distributed_push_down_limit is respected for optimize_distributed_group_by_sharding_key. Next step will be to enable distributed_push_down_limit by default. v2: fix detection of aggregates |
||
---|---|---|
.. | ||
0_stateless | ||
1_stateful | ||
bugs | ||
__init__.py | ||
conftest.py | ||
pytest.ini | ||
query_test.py | ||
server.py | ||
shell_config.sh | ||
skip_list.json |