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
ListArray::from(ArrayData) tries to validate that the first offset is zero, without checking that the offset buffer actually contains any data. This leads to a segmentation fault when creating an empty ListArray.
Additionally this validation should not really be needed, starting from a non-zero offset should work fine.
To Reproduce
Create an ArrayData object with list type and an empty offset buffer.
Expected behavior
The ListArray creation should succeed, resulting in an empty array.
Additional context
Related to #1545 since validation already happened when creating the ArrayData struct.
The text was updated successfully, but these errors were encountered:
Describe the bug
ListArray::from(ArrayData)
tries to validate that the first offset is zero, without checking that the offset buffer actually contains any data. This leads to a segmentation fault when creating an empty ListArray.Additionally this validation should not really be needed, starting from a non-zero offset should work fine.
To Reproduce
Create an
ArrayData
object with list type and an empty offset buffer.Expected behavior
The ListArray creation should succeed, resulting in an empty array.
Additional context
Related to #1545 since validation already happened when creating the
ArrayData
struct.The text was updated successfully, but these errors were encountered: