From 0498cd30a761bc025f20d5ed4a78dcd9953b2e25 Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:54:04 +0200 Subject: [PATCH] Cleanup the table and add NOT EXISTS --- .../0_stateless/03246_range_literal_replacement_works.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/03246_range_literal_replacement_works.sql b/tests/queries/0_stateless/03246_range_literal_replacement_works.sql index 8f8e28e8f86..9e5748c14b5 100644 --- a/tests/queries/0_stateless/03246_range_literal_replacement_works.sql +++ b/tests/queries/0_stateless/03246_range_literal_replacement_works.sql @@ -1,5 +1,7 @@ -CREATE TABLE 03246_range_literal_replacement_works (id UInt8) Engine=Memory; +CREATE TABLE IF NOT EXISTS 03246_range_literal_replacement_works (id UInt8) Engine=Memory; INSERT INTO 03246_range_literal_replacement_works VALUES (1 BETWEEN 0 AND 2); SELECT * FROM 03246_range_literal_replacement_works; + +DROP TABLE IF EXISTS 03246_range_literal_replacement_works;