ClickHouse/tests/queries/0_stateless/01951_distributed_push_down_limit.sql
2021-09-12 17:15:28 +03:00

6 lines
316 B
SQL

-- Tags: distributed
-- { 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;