mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Simplify test 03246_range_literal_replacement_works
Make the SQL compatible with older ClickHouse versions to backport it easily.
This commit is contained in:
parent
c16fab8af3
commit
c1e15a1f7d
@ -1 +1 @@
|
|||||||
ok
|
1
|
||||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user