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
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
ffi::ArrowArray::try_new is marked unsafe, this is despite being called by the safe function Array::to_raw.
I initially thought this was a mistake in Array::to_raw but I think this API shouldn't actually be marked unsafe. In particular leaking memory is not unsafe, and this appears to be the only consequence from misuse.
Describe the solution you'd like
We should make ffi::ArrowArray::try_new safe
Describe alternatives you've considered
We could not do this
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
ffi::ArrowArray::try_new
is marked unsafe, this is despite being called by thesafe
functionArray::to_raw
.I initially thought this was a mistake in
Array::to_raw
but I think this API shouldn't actually be marked unsafe. In particular leaking memory is not unsafe, and this appears to be the only consequence from misuse.Describe the solution you'd like
We should make
ffi::ArrowArray::try_new
safeDescribe alternatives you've considered
We could not do this
Additional context
The text was updated successfully, but these errors were encountered: