Simplify test 03246_range_literal_replacement_works

Make the SQL compatible with older ClickHouse versions to
backport it easily.
This commit is contained in:
Pablo Marcos 2024-10-01 14:46:42 +00:00
parent c16fab8af3
commit c1e15a1f7d
2 changed files with 4 additions and 12 deletions

View File

@ -1,13 +1,5 @@
CREATE TABLE my_table ( CREATE TABLE 03246_range_literal_replacement_works (id UInt8) Engine=Memory;
str String,
) ORDER BY str;
INSERT INTO my_table VALUES INSERT INTO 03246_range_literal_replacement_works VALUES (1 BETWEEN 0 AND 2);
(
CASE WHEN
(0 BETWEEN 0 AND 2) THEN 'ok' ELSE
'wat'
END
);
SELECT * FROM my_table; SELECT * FROM 03246_range_literal_replacement_works;