ClickHouse/tests/queries/0_stateless/01109_inflating_cross_join.sql
2024-05-30 19:41:08 +00:00

8 lines
294 B
SQL

SET max_memory_usage = 16000000;
SET max_joined_block_size_rows = 10000000;
SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2; -- { serverError MEMORY_LIMIT_EXCEEDED }
SET max_joined_block_size_rows = 1000;
SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2;