mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
7 lines
247 B
SQL
7 lines
247 B
SQL
-- Tags: no-replicated-database
|
|
|
|
-- Memory limit must correctly apply, triggering an exception:
|
|
|
|
SET max_memory_usage = '100M';
|
|
SELECT length(topK(5592405)(tuple(number))) FROM numbers(10) GROUP BY number; -- { serverError MEMORY_LIMIT_EXCEEDED }
|