joellubi commented on issue #42156: URL: https://github.com/apache/arrow/issues/42156#issuecomment-2276279930
If implementations can handle offset buffers that do not start at zero, then C data arrays with offsets should be possible to import following one of these two cases: - For fixed-width types, slice the value buffer starting at `offset`*`width` bytes. - For binary or list types, instead slice the offset buffer at `offset` bytes. The latter means that offset buffers won't necessarily start at zero, which not all implementations support right now. This is something we fixed recently in Go, also related to datafusion's shared buffer usage: #41993. If implementations can support this case, then implementing C data offsets should become simpler. -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org