mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
29 lines
574 B
SQL
29 lines
574 B
SQL
SET allow_experimental_analyzer = 1;
|
|
|
|
DESCRIBE (SELECT 1 + 1);
|
|
SELECT 1 + 1;
|
|
|
|
SELECT '--';
|
|
|
|
DESCRIBE (SELECT dummy + dummy);
|
|
SELECT dummy + dummy;
|
|
|
|
DROP TABLE IF EXISTS test_table;
|
|
CREATE TABLE test_table
|
|
(
|
|
id UInt64,
|
|
value String
|
|
) ENGINE=TinyLog;
|
|
|
|
INSERT INTO test_table VALUES (0, 'Value');
|
|
|
|
SELECT '--';
|
|
|
|
DESCRIBE (SELECT id + length(value) FROM test_table);
|
|
SELECT id + length(value) FROM test_table;
|
|
|
|
SELECT '--';
|
|
|
|
DESCRIBE (SELECT concat(concat(toString(id), '_'), (value)) FROM test_table);
|
|
SELECT concat(concat(toString(id), '_'), (value)) FROM test_table;
|