ClickHouse/tests/queries/0_stateless/01458_named_tuple_millin.sql
2020-08-27 00:57:42 +03:00

20 lines
339 B
SQL

DROP TABLE IF EXISTS tuple;
CREATE TABLE tuple
(
`j` Tuple(a Int8, b String)
)
ENGINE = Memory;
SHOW CREATE TABLE tuple FORMAT TSVRaw;
DESC tuple;
DROP TABLE tuple;
CREATE TABLE tuple
ENGINE = Memory AS
SELECT CAST((1, 'Test'), 'Tuple(a Int8, b String)') AS j;
SHOW CREATE TABLE tuple FORMAT TSVRaw;
DESC tuple;
DROP TABLE tuple;