ClickHouse/tests/queries/0_stateless/02338_analyzer_constants_basic.sql

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

43 lines
675 B
MySQL
Raw Normal View History

SET allow_experimental_analyzer = 1;
2022-07-14 11:31:58 +00:00
DESCRIBE (SELECT 1);
SELECT 1;
SELECT '--';
DESCRIBE (SELECT 'test');
SELECT 'test';
SELECT '--';
DESCRIBE (SELECT 1, 'test');
SELECT 1, 'test';
SELECT '--';
DESCRIBE (SELECT 1, 'test', [1, 2, 3]);
SELECT 1, 'test', [1, 2, 3];
SELECT '--';
DESCRIBE (SELECT 1, 'test', [1, 2, 3], ['1', '2', '3']);
SELECT 1, 'test', [1, 2, 3], ['1', '2', '3'];
SELECT '--';
DESCRIBE (SELECT NULL);
SELECT NULL;
SELECT '--';
DESCRIBE (SELECT (1, 1));
SELECT (1, 1);
SELECT '--';
DESCRIBE (SELECT [(1, 1)]);
SELECT [(1, 1)];
DESCRIBE (SELECT NULL, 1, 'test', [1, 2, 3], [(1, 1), (1, 1)]);
SELECT NULL, 1, 'test', [1, 2, 3], [(1, 1), (1, 1)];