Add test for crasher

This commit is contained in:
Raúl Marín 2024-11-04 20:15:29 +01:00
parent 35a0d08a32
commit 389fdd80d3
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- https://github.com/ClickHouse/ClickHouse/issues/71382
DROP TABLE IF EXISTS rewrite;
CREATE TABLE rewrite (c0 Int) ENGINE = Memory();
SELECT 1
FROM rewrite
INNER JOIN rewrite AS y ON (
SELECT 1
)
INNER JOIN rewrite AS z ON 1
SETTINGS allow_experimental_analyzer=0, optimize_rewrite_array_exists_to_has=1;