diff --git a/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.reference b/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql b/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql new file mode 100644 index 00000000000..5c164b1368e --- /dev/null +++ b/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql @@ -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;