ClickHouse/tests/queries/0_stateless/02579_fill_empty_chunk.sql
2023-03-11 11:51:54 +01:00

13 lines
259 B
SQL

-- this SELECT produces empty chunk in FillingTransform
SET enable_positional_arguments = 0;
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;