From a2b1100a822cac8728b4239c1cf4d073bc5ad2f5 Mon Sep 17 00:00:00 2001 From: VadimPE Date: Mon, 13 Aug 2018 11:52:56 +0300 Subject: [PATCH] add tests --- dbms/tests/queries/0_stateless/00672_arrayDistinct.reference | 1 + dbms/tests/queries/0_stateless/00672_arrayDistinct.sql | 1 + 2 files changed, 2 insertions(+) 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]));