JasonLi-cn commented on issue #6112:
URL: https://github.com/apache/arrow-rs/issues/6112#issuecomment-2251790369
> FWIW in general offset overflows do yield panics in arrow-rs, the
additional plumbing for error handling what is almost always an unrecoverable
error has been hard to justify, although I suspect in this case it could be
made into an `ArrowError` without it being a breaking change.
>
> Edit: I've updated this to be an enhancement, panics are not a bug
Do you mean we need to add a new function like the following?
```rust
pub fn try_decode_binary<I: OffsetSizeTrait>(
rows: &mut [&[u8]],
options: SortOptions,
) -> Result<GenericBinaryArray<I>, ArrowError> {
...
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]