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

4 lines
210 B
SQL

SET enable_analyzer = 1;
SELECT (NULL, NULL, NULL, NULL, NULL, NULL, NULL) FROM numbers(0) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]) -- { serverError ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER };