mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
15 lines
351 B
MySQL
15 lines
351 B
MySQL
|
-- 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;
|