Merge pull request #52534 from ClickHouse/analyzer_fix_01951_distributed_push_down_limit

Make 01951_distributed_push_down_limit analyzer agnostic
This commit is contained in:
robot-ch-test-poll1 2023-07-25 07:45:21 +02:00 committed by GitHub
commit 4e5ed9b475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 19 deletions

View File

@ -72,7 +72,6 @@
01925_test_storage_merge_aliases 01925_test_storage_merge_aliases
01930_optimize_skip_unused_shards_rewrite_in 01930_optimize_skip_unused_shards_rewrite_in
01947_mv_subquery 01947_mv_subquery
01951_distributed_push_down_limit
01952_optimize_distributed_group_by_sharding_key 01952_optimize_distributed_group_by_sharding_key
02000_join_on_const 02000_join_on_const
02001_shard_num_shard_count 02001_shard_num_shard_count

View File

@ -1,19 +1,19 @@
-- { echo } -- { echo }
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0; explain description=0 select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0;
Expression (Projection) Expression
Limit (preliminary LIMIT (without OFFSET)) Limit
Sorting (Merge sorted streams after aggregation stage for ORDER BY) Sorting
Union Union
Sorting (Sorting for ORDER BY) Sorting
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY))))) Expression
ReadFromStorage (SystemNumbers) ReadFromStorage
ReadFromRemote (Read from remote replica) ReadFromRemote
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1; explain description=0 select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1;
Expression (Projection) Expression
Limit (preliminary LIMIT (without OFFSET)) Limit
Sorting (Merge sorted streams after aggregation stage for ORDER BY) Sorting
Union Union
Sorting (Sorting for ORDER BY) Sorting
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY))))) Expression
ReadFromStorage (SystemNumbers) ReadFromStorage
ReadFromRemote (Read from remote replica) ReadFromRemote

View File

@ -3,5 +3,5 @@
set prefer_localhost_replica = 1; set prefer_localhost_replica = 1;
-- { echo } -- { echo }
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0; explain description=0 select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0;
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1; explain description=0 select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1;