Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
EnumerableUncollect throws NPE when an input has element = ((List) null)
Example:
SELECT * FROM UNNEST(CAST(null AS INTEGER ARRAY))
In a real situation, it can appear if to use left join. For example:
SELECT ARRAY(SELECT * FROM UNNEST(t.x)) FROM (VALUES(1)) LEFT JOIN (SELECT ARRAY[1] as x, 2 as y) t ON t.y = 1
Attachments
Issue Links
- links to