The binary
function should not panic on unequaled array length.
#2721
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We've seen somewhere in the code that there are duplicate length checking because
binary
panics on unequaled length:https://github.com/apache/arrow-rs/blob/master/arrow/src/compute/kernels/arithmetic.rs#L60-L77
https://github.com/apache/arrow-rs/blob/master/arrow/src/compute/kernels/arity.rs#L188
Describe the solution you'd like
binary
beResult
and return an error when arrays have different length.Describe alternatives you've considered
We could not do this.
Additional context
The text was updated successfully, but these errors were encountered: