ClickHouse/tests/queries/0_stateless/02381_parse_array_of_tuples.sql

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

15 lines
320 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS t_parse_tuples;
CREATE TABLE t_parse_tuples
(
id UInt32,
arr Array(Array(Tuple(c1 Int32, c2 UInt8)))
)
ENGINE = Memory;
INSERT INTO t_parse_tuples VALUES (1, [[]]), (2, [[(500, -10)]]), (3, [[(500, '10')]]);
SELECT * FROM t_parse_tuples ORDER BY id;
DROP TABLE IF EXISTS t_parse_tuples;