Jefffrey opened a new issue, #11900:
URL: https://github.com/apache/arrow-rs/issues/11900

   ### Is your feature request related to a problem or challenge?
   
   - followup to https://github.com/apache/arrow-rs/pull/10641
   
   when poking around investigating a separate issue i noticed some places we 
still use panicky versions of MutableBuffer methods even inside a fallible 
method, see examples of `from_len_zeroed`:
   
   
https://github.com/apache/arrow-rs/blob/6db3c54bec9cf0160a9c2bd7778e95be3eb4f75b/arrow-buffer/src/buffer/offset.rs#L112-L119
   
   
https://github.com/apache/arrow-rs/blob/6db3c54bec9cf0160a9c2bd7778e95be3eb4f75b/arrow-data/src/transform/mod.rs#L707-L710
   
   ### Describe the solution you'd like
   
   we should replace the above with the fallible version if possible. we should 
also do a further audit to see where else we are using the panicky method 
instead of the fallible version, not only for `from_len_zeroed` but for other 
methods of mutablebuffer
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to