ClickHouse/tests/queries/0_stateless/02370_analyzer_in_function.sql

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

24 lines
599 B
MySQL
Raw Normal View History

SET allow_experimental_analyzer = 1;
2022-07-22 15:09:56 +00:00
SELECT 1 IN 1;
SELECT 1 IN (1);
SELECT 1 IN 0;
SELECT 1 IN (0);
SELECT 1 IN (1, 2);
SELECT (1, 1) IN ((1, 1), (1, 2));
SELECT (1, 1) IN ((1, 2), (1, 2));
SELECT 1 IN (((1), (2)));
SELECT '--';
SELECT 1 IN [1];
SELECT 1 IN [0];
SELECT 1 IN [1, 2];
SELECT (1, 1) IN [(1, 1), (1, 2)];
SELECT (1, 1) IN [(1, 2), (1, 2)];
SELECT (1, 2) IN 1; -- { serverError 43 }
SELECT (1, 2) IN [1]; -- { serverError 124 }
SELECT (1, 2) IN (((1, 2), (1, 2)), ((1, 2), (1, 2))); -- { serverError 43 }
SELECT (1, 2) IN [((1, 2), (1, 2)), ((1, 2), (1, 2))]; -- { serverError 43 }