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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
397 B
MySQL
Raw Normal View History

CREATE TABLE test (dummy Int8) ENGINE = Distributed(test_cluster_two_shards, 'system', 'one');
SET allow_experimental_analyzer = 0;
2024-03-05 13:37:16 +00:00
SELECT * FROM (SELECT * FROM test SETTINGS allow_experimental_analyzer = 1); -- { serverError INCORRECT_QUERY }
SET allow_experimental_analyzer = 1;
2024-03-05 13:37:16 +00:00
SELECT * FROM (SELECT * FROM test SETTINGS allow_experimental_analyzer = 0); -- { serverError INCORRECT_QUERY }