mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
5 lines
196 B
MySQL
5 lines
196 B
MySQL
|
-- 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 241 }
|