ClickHouse/tests/queries
Azat Khuzhin 2fb95d9ee0 Rework SELECT from Distributed query stages optimization
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
2021-08-02 21:04:29 +03:00
..
0_stateless Rework SELECT from Distributed query stages optimization 2021-08-02 21:04:29 +03:00
1_stateful Revert "Revert "Merge branch 'master' into master"" 2021-07-21 14:16:05 +03:00
bugs
__init__.py
conftest.py
pytest.ini
query_test.py Update query_test.py 2021-07-27 12:41:35 +03:00
server.py
shell_config.sh Fix CLICKHOUSE_CLIENT_SECURE with the default config 2021-07-28 14:03:35 +02:00
skip_list.json Merge pull request #25687 from MaxWk/profile-default-database 2021-07-31 08:37:02 +03:00