Added a test from Silviu Caragea #2026

This commit is contained in:
Alexey Milovidov 2018-07-16 08:12:43 +03:00 committed by alexey-milovidov
parent 0a2e6eca45
commit 9de268a455
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
DROP TABLE IF EXISTS test.array;
CREATE TABLE test.array (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO test.array(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);
select * from test.array where arr > [12.2];
select * from test.array where arr > [null, 12.2];
select * from test.array where arr > [null, 12];
DROP TABLE test.array;