ClickHouse/tests/queries/0_stateless/02353_simdjson_buffer_overflow.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
422 B
MySQL
Raw Normal View History

-- Tags: no-fasttest, no-msan
-- Tag: no-msan: fuzzer can make this query very memory hungry, and under MSan, the MemoryTracker cannot account for the additional memory used by sanitizer, and OOM happens.
2022-07-06 22:33:13 +00:00
SET max_execution_time = 3;
SET timeout_overflow_mode = 'break';
SELECT count() FROM system.numbers_mt WHERE NOT ignore(JSONExtract('{' || repeat('"a":"b",', rand() % 10) || '"c":"d"}', 'a', 'String')) FORMAT Null;