diff --git a/dbms/tests/queries/0_stateless/00672_arrayDistinct.reference b/dbms/tests/queries/0_stateless/00672_arrayDistinct.reference index d9403efc2a6..4210c0c42e7 100644 --- a/dbms/tests/queries/0_stateless/00672_arrayDistinct.reference +++ b/dbms/tests/queries/0_stateless/00672_arrayDistinct.reference @@ -10,3 +10,4 @@ ['123'] [['1212'],['sef'],['343r4']] [(1,2),(1,3),(1,5)] +0 diff --git a/dbms/tests/queries/0_stateless/00672_arrayDistinct.sql b/dbms/tests/queries/0_stateless/00672_arrayDistinct.sql index a5e9c930db0..85cfb03fe94 100644 --- a/dbms/tests/queries/0_stateless/00672_arrayDistinct.sql +++ b/dbms/tests/queries/0_stateless/00672_arrayDistinct.sql @@ -19,3 +19,4 @@ DROP TABLE arrayDistinct_test; SELECT arrayDistinct([['1212'], ['sef'], ['343r4'], ['1212']]); SELECT arrayDistinct([(1, 2), (1, 3), (1, 2), (1, 2), (1, 2), (1, 5)]); +SELECT length(arrayDistinct([NULL, NULL, NULL]));