ClickHouse/tests/queries/0_stateless/01458_named_tuple_millin.sql

18 lines
339 B
MySQL
Raw Normal View History

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;