viirya commented on issue #4431:
URL: https://github.com/apache/arrow-rs/issues/4431#issuecomment-1595798681

   I made some change to skip alignment check in `From<Buffer>` and let `Deref` 
panic when trying to deref a `ScalarBuffer` as `[T]`. However, currently a 
`ScalarBuffer` is assumed to be access as a slice using slice APIs, e.g., 
getting offset through `OffsetBuffer`. And we already expose these scalar 
buffers as slice, e.g.  `GenericByteArray.value_offsets`. To get rid of these 
slice assumption seems some breaking changes.


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