ClickHouse/tests/queries/0_stateless/02353_simdjson_buffer_overflow.sql
Alexey Milovidov 63e586d17a Adjust tests
2024-07-24 09:57:56 +02:00

8 lines
441 B
SQL

-- 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.
SET max_execution_time = 3;
SET timeout_overflow_mode = 'break';
SET max_rows_to_read = 0, max_bytes_to_read = 0;
SELECT count() FROM system.numbers_mt WHERE NOT ignore(JSONExtract('{' || repeat('"a":"b",', rand() % 10) || '"c":"d"}', 'a', 'String')) FORMAT Null;