ClickHouse/tests/queries/0_stateless/02579_fill_empty_chunk_analyzer.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
351 B
MySQL
Raw Normal View History

-- this SELECT produces empty chunk in FillingTransform
SET enable_positional_arguments = 0;
SET allow_experimental_analyzer = 1;
-- With analyzer this special query has correct output
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;