mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
0b277a55c7
- 00757_enum_defaults - TOTALS - 02699_polygons_sym_difference_rollup - TOTALS - 02579_fill_empty_chunk - GROUP BY constX with arrayJoin(constX) Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
15 lines
351 B
SQL
15 lines
351 B
SQL
-- 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;
|