You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2023/06/17 16:26:02 UTC

[GitHub] [arrow-rs] viirya commented on issue #4431: Buffer from external memory doesn't match ScalarBuffer alignment requirement

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org