mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +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
5b75c2e20c
commit
159a12b340
@ -1 +1 @@
|
||||
ok
|
||||
1
|
||||
|
@ -1,13 +1,5 @@
|
||||
CREATE TABLE my_table (
|
||||
str String,
|
||||
) ORDER BY str;
|
||||
CREATE TABLE 03246_range_literal_replacement_works (id UInt8) Engine=Memory;
|
||||
|
||||
INSERT INTO my_table VALUES
|
||||
(
|
||||
CASE WHEN
|
||||
(0 BETWEEN 0 AND 2) THEN 'ok' ELSE
|
||||
'wat'
|
||||
END
|
||||
);
|
||||
INSERT INTO 03246_range_literal_replacement_works VALUES (1 BETWEEN 0 AND 2);
|
||||
|
||||
SELECT * FROM my_table;
|
||||
SELECT * FROM 03246_range_literal_replacement_works;
|
Loading…
Reference in New Issue
Block a user