ClickHouse/tests/queries/0_stateless/03003_analyzer_setting.sql

10 lines
349 B
MySQL
Raw Normal View History

CREATE TABLE test (dummy Int8) ENGINE = Distributed(test_cluster_two_shards, 'system', 'one');
2024-07-12 12:49:26 +00:00
SET enable_analyzer = 0;
2024-07-12 12:49:26 +00:00
SELECT * FROM (SELECT * FROM test SETTINGS enable_analyzer = 1); -- { serverError INCORRECT_QUERY }
2024-07-12 12:49:26 +00:00
SET enable_analyzer = 1;
2024-07-12 12:49:26 +00:00
SELECT * FROM (SELECT * FROM test SETTINGS enable_analyzer = 0); -- { serverError INCORRECT_QUERY }