ClickHouse/tests/queries/0_stateless/02147_order_by_optimizations.reference

22 lines
263 B
Plaintext

SELECT
date,
v
FROM t_02147
ORDER BY
toStartOfHour(date) ASC,
v ASC
SELECT
date,
v
FROM t_02147_dist
ORDER BY
toStartOfHour(date) ASC,
v ASC
SELECT
date,
v
FROM t_02147_merge
ORDER BY
toStartOfHour(date) ASC,
v ASC