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
We count n_buffers for FFI_ArrowArray by looking at ArrayData regarding with its null_buffer, and buffers. However, for NullType array, n_buffers should be 0. But currently n_buffers is 1.
n_buffers should be based on the layout spec.
We found this bug when transferring a NullType array between Rust and Java. The ffi ArrowArray fails a check at Arrow Java.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
We count
n_buffers
forFFI_ArrowArray
by looking atArrayData
regarding with itsnull_buffer
, and buffers. However, for NullType array,n_buffers
should be 0. But currentlyn_buffers
is 1.n_buffers
should be based on the layout spec.We found this bug when transferring a NullType array between Rust and Java. The ffi ArrowArray fails a check at Arrow Java.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: