ClickHouse/tests/queries/0_stateless/01038_array_of_unnamed_tuples.sql

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

17 lines
437 B
MySQL
Raw Normal View History

2020-06-20 11:29:01 +00:00
SET send_logs_level = 'fatal';
2020-01-27 21:04:46 +00:00
DROP TABLE IF EXISTS array_of_tuples;
CREATE TABLE array_of_tuples
(
f Array(Tuple(Float64, Float64)),
s Array(Tuple(UInt8, UInt16, UInt32))
2020-01-27 21:04:46 +00:00
) ENGINE = Memory;
INSERT INTO array_of_tuples values ([(1, 2), (2, 3), (3, 4)], array(tuple(1, 2, 3), tuple(2, 3, 4))), (array((1.0, 2.0)), [tuple(4, 3, 1)]);
SELECT f from array_of_tuples;
SELECT s from array_of_tuples;
2020-01-27 21:04:46 +00:00
DROP TABLE array_of_tuples;