ClickHouse/tests/queries/0_stateless/02579_fill_empty_chunk.sql
2024-08-05 15:29:14 +00:00

14 lines
284 B
SQL

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