ClickHouse/tests/queries/0_stateless/02233_with_total_empty_chunk.sql

4 lines
191 B
SQL

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