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
Passing 0 as size to FixedSizeListArray::try_new panics with division by zero.
To Reproduce
Call FixedSizeListArray::try_new with 0 as size.
Expected behavior
If FixedSizeListArrays should not hold empty values, an ArrowError::InvalidArgumentError should be returned, otherwise it should be possible to construct it with 0 as length of lists contained within.
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Passing 0 as size to FixedSizeListArray::try_new panics with division by zero.
To Reproduce
Call FixedSizeListArray::try_new with 0 as size.
Expected behavior
If FixedSizeListArrays should not hold empty values, an ArrowError::InvalidArgumentError should be returned, otherwise it should be possible to construct it with 0 as length of lists contained within.
Additional context
The text was updated successfully, but these errors were encountered: