mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
fix test
This commit is contained in:
parent
d65f23b2f6
commit
9c8b5636df
@ -37,8 +37,8 @@ DROP TABLE IF EXISTS spark_bar_test;
|
||||
WITH number DIV 50 AS k, number % 50 AS value SELECT k, sparkbar(50, 0, 99)(number, value) FROM numbers(100) GROUP BY k ORDER BY k;
|
||||
|
||||
-- OOM guard
|
||||
-- DROP TABLE IF EXISTS spark_bar_oom;
|
||||
-- CREATE TABLE spark_bar_oom (x UInt64, y UInt8) Engine=MergeTree ORDER BY tuple();
|
||||
-- INSERT INTO spark_bar_oom VALUES (18446744073709551615,255),(0,0),(0,0),(4036797895307271799,163);
|
||||
-- SELECT sparkbar(9)(x,y) FROM spark_bar_oom SETTINGS max_memory_usage = 100000000; -- { serverError 241 }
|
||||
-- DROP TABLE IF EXISTS spark_bar_oom;
|
||||
DROP TABLE IF EXISTS spark_bar_oom;
|
||||
CREATE TABLE spark_bar_oom (x UInt64, y UInt8) Engine=MergeTree ORDER BY tuple();
|
||||
INSERT INTO spark_bar_oom VALUES (18446744073709551615,255),(0,0),(0,0),(4036797895307271799,163);
|
||||
SELECT sparkbar(9)(x,y) FROM spark_bar_oom SETTINGS max_memory_usage = 100000000; -- { serverError 241 }
|
||||
DROP TABLE IF EXISTS spark_bar_oom;
|
||||
|
Loading…
Reference in New Issue
Block a user