ClickHouse/tests/queries/0_stateless/02579_fill_empty_chunk.sql
2023-02-27 19:44:37 +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;