2021-07-17 14:16:29 +00:00
-- { 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)
2021-08-08 06:36:36 +00:00
Limit (preliminary LIMIT (without OFFSET))
2021-10-19 08:11:54 +00:00
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
2022-05-30 13:10:30 +00:00
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)
2021-07-17 14:16:29 +00:00
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)
2021-08-08 06:36:36 +00:00
Limit (preliminary LIMIT (without OFFSET))
2021-10-19 08:11:54 +00:00
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
2022-05-30 13:10:30 +00:00
Union
Limit (preliminary LIMIT (with OFFSET))
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)