ClickHouse/tests/queries/0_stateless/01937_nested_chinese.sql

9 lines
387 B
MySQL
Raw Normal View History

CREATE TEMPORARY TABLE test (`id` String, `products` Nested (`` Array(String), `` Array(Int32)));
DESCRIBE test;
DESCRIBE (SELECT * FROM test);
DESCRIBE (SELECT * FROM test ARRAY JOIN products);
DESCRIBE (SELECT p.``, p.`` FROM test ARRAY JOIN products AS p);
SELECT * FROM test ARRAY JOIN products;
SELECT count() FROM (SELECT * FROM test ARRAY JOIN products);