From 5d5f073bab07801e0955d085d88f2b41e18c301e Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:48:14 +0100 Subject: [PATCH] revert previous commit --- .../03013_optimize_in_to_equal.sql | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/tests/queries/0_stateless/03013_optimize_in_to_equal.sql b/tests/queries/0_stateless/03013_optimize_in_to_equal.sql index ba6eb5d4f5f9..c38a741114f7 100644 --- a/tests/queries/0_stateless/03013_optimize_in_to_equal.sql +++ b/tests/queries/0_stateless/03013_optimize_in_to_equal.sql @@ -1,29 +1,28 @@ DROP TABLE IF EXISTS test; CREATE TABLE test (x String, y Int32) ENGINE = MergeTree() ORDER BY x; -SET allow_experimental_analyzer = 1; INSERT INTO test VALUES ('a', 1), ('b', 2), ('c', 3); -select * from test where x in ('a'); +select * from test where x in ('a') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; select x in Null from test; select '-------------------'; -explain query tree select * from test where x in ('a'); +explain query tree select * from test where x in ('a') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x in (upper('a')); +explain query tree select * from test where x in (upper('a')) SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x in ('a','b'); +explain query tree select * from test where x in ('a','b') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x in ['a','b']; +explain query tree select * from test where x in ['a','b'] SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -select * from test where x not in ('a'); +select * from test where x not in ('a') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x not in ('a'); +explain query tree select * from test where x not in ('a') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x not in (upper('a')); +explain query tree select * from test where x not in (upper('a')) SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x not in ('a','b'); +explain query tree select * from test where x not in ('a','b') SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x not in ['a','b']; +explain query tree select * from test where x not in ['a','b'] SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x not in (NULL); +explain query tree select * from test where x not in (NULL) SETTINGS allow_experimental_analyzer = 1; select '-------------------'; -explain query tree select * from test where x in (NULL); +explain query tree select * from test where x in (NULL) SETTINGS allow_experimental_analyzer = 1;