ClickHouse/tests/queries/0_stateless/02579_fill_empty_chunk.sql
Azat Khuzhin 0b277a55c7 Fix tests with different results for GROUP BY const for analyzer
- 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>
2024-03-12 19:52:12 +01:00

14 lines
296 B
SQL

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