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;