Skip to content

Commit 031affc

Browse files
committed
test: handling NULLs in array_union
1 parent f56dc81 commit 031affc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

datafusion/sqllogictest/test_files/array.slt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4827,6 +4827,16 @@ select array_union(arrow_cast(['hello'], 'LargeList(Utf8)'), arrow_cast(['hello'
48274827
----
48284828
[hello, datafusion]
48294829

4830+
query ?
4831+
select array_union(column1, column2)
4832+
from array_intersect_table_1D_NULL;
4833+
----
4834+
[1, 2, 3, 4]
4835+
[2, 3]
4836+
[3, 4]
4837+
[3, 4]
4838+
[1, 2]
4839+
[]
48304840

48314841
# list_to_string scalar function #4 (function alias `array_to_string`)
48324842
query TTT

0 commit comments

Comments
 (0)