mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
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:
commit
4e5ed9b475
@ -72,7 +72,6 @@
|
||||
01925_test_storage_merge_aliases
|
||||
01930_optimize_skip_unused_shards_rewrite_in
|
||||
01947_mv_subquery
|
||||
01951_distributed_push_down_limit
|
||||
01952_optimize_distributed_group_by_sharding_key
|
||||
02000_join_on_const
|
||||
02001_shard_num_shard_count
|
||||
|
@ -1,19 +1,19 @@
|
||||
-- { echo }
|
||||
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0;
|
||||
Expression (Projection)
|
||||
Limit (preliminary LIMIT (without OFFSET))
|
||||
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
|
||||
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
|
||||
Limit
|
||||
Sorting
|
||||
Union
|
||||
Sorting (Sorting for ORDER BY)
|
||||
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY)))))
|
||||
ReadFromStorage (SystemNumbers)
|
||||
ReadFromRemote (Read from remote replica)
|
||||
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1;
|
||||
Expression (Projection)
|
||||
Limit (preliminary LIMIT (without OFFSET))
|
||||
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
|
||||
Sorting
|
||||
Expression
|
||||
ReadFromStorage
|
||||
ReadFromRemote
|
||||
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
|
||||
Limit
|
||||
Sorting
|
||||
Union
|
||||
Sorting (Sorting for ORDER BY)
|
||||
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY)))))
|
||||
ReadFromStorage (SystemNumbers)
|
||||
ReadFromRemote (Read from remote replica)
|
||||
Sorting
|
||||
Expression
|
||||
ReadFromStorage
|
||||
ReadFromRemote
|
||||
|
@ -3,5 +3,5 @@
|
||||
set prefer_localhost_replica = 1;
|
||||
|
||||
-- { 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 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=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=1;
|
||||
|
Loading…
Reference in New Issue
Block a user