ClickHouse/tests/queries/0_stateless/01951_distributed_push_down_limit.sql

8 lines
351 B
SQL

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