You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When generating positions, explode_outer can produce null positions for top-level types that are not null and not empty but contain empty children.
Steps/Code to reproduce bug
Create a LIST column that contains a STRUCT column with a single field (can be int, string, whatever).
Put five rows in the column:
The first row has a single struct instance that contains a non-null value
The second row has a single struct instance that contains a null value
The third row has a single null struct
The fourth row is an empty list (zero struct instances)
The fifth row is a null list
Performing an explode_outer with positions will generate position values of 0, 0, null, null, null
Expected behavior
The positions generated should be 0, 0, 0, null, null
The text was updated successfully, but these errors were encountered:
Describe the bug
When generating positions,
explode_outer
can produce null positions for top-level types that are not null and not empty but contain empty children.Steps/Code to reproduce bug
explode_outer
with positions will generate position values of0, 0, null, null, null
Expected behavior
The positions generated should be
0, 0, 0, null, null
The text was updated successfully, but these errors were encountered: