ClickHouse/tests/queries/0_stateless/00530_arrays_of_nothing.sql

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

14 lines
384 B
MySQL
Raw Normal View History

SELECT [[[[],[]]]];
SELECT [[1], []];
SELECT [[[[],['']]]];
SELECT concat([], ['Hello'], []);
SELECT arrayPushBack([], 1), arrayPushFront([[]], []);
DROP TABLE IF EXISTS arr;
CREATE TABLE arr (x Array(String), y Nullable(String), z Array(Array(Nullable(String)))) ENGINE = TinyLog;
INSERT INTO arr SELECT [], NULL, [[], [NULL], [NULL, 'Hello']];
SELECT * FROM arr;
DROP TABLE arr;