ClickHouse/tests/queries/0_stateless/25339_fill_empty_chunk.sql
Yakov Olkhovskiy dd25d8955e test is added
2023-02-26 02:30:54 +00:00

11 lines
221 B
SQL

-- this SELECT produces empty chunk in FillingTransform
SELECT
2 AS x,
arrayJoin([NULL, NULL, NULL])
GROUP BY
GROUPING SETS (
(0),
([NULL, NULL, NULL]))
ORDER BY x ASC WITH FILL FROM 1 TO 10;