jonahgao commented on code in PR #10118: URL: https://github.com/apache/arrow-datafusion/pull/10118#discussion_r1569078468
########## datafusion/sqllogictest/test_files/unnest.slt: ########## @@ -383,5 +383,23 @@ select unnest(array_remove(column1, 3)) - 1 as c1, column3 from unnest_table; 5 3 11 NULL +# Unnest with non-nullable lists +statement ok +create table non_nullable_list( + c1 int[] not null, + c2 int[] not null +) as values ([1,2,3], [4]); + +# Unnesting may produce NULLs even if the lists are non-nullable Review Comment: Added the test suggested by @jayzhan211 in https://github.com/apache/arrow-datafusion/pull/10044#discussion_r1563882878 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
