You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "WillAyd (via GitHub)" <gi...@apache.org> on 2024/09/19 01:28:53 UTC
[I] Binary View Variadic Buffer Sizes are int64_t but variadic buffers only support int32_t [arrow]
WillAyd opened a new issue, #44165:
URL: https://github.com/apache/arrow/issues/44165
### Describe the usage question you have. Please include as many useful details as possible.
I noticed that the variadic buffer sizes exported through the C data interface for arrays that contain string/binary view data use int64_t as the size:
https://github.com/apache/arrow/blob/ee188600c511503b2973a569d7ec47b257655ebd/cpp/src/arrow/c/bridge.cc#L537
However, the implementation of binary views only use 32 bit offsets:
https://github.com/apache/arrow/blob/ee188600c511503b2973a569d7ec47b257655ebd/cpp/src/arrow/type.h#L833
Is this an intentional design decision or an oversight?
### Component(s)
C++
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Binary View Variadic Buffer Sizes are int64_t but variadic buffers only support int32_t [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on issue #44165:
URL: https://github.com/apache/arrow/issues/44165#issuecomment-2359896171
It was brought to my attention that this is intentional and documented:
https://arrow.apache.org/docs/format/CDataInterface.html#binary-view-arrays
Thanks!
--
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
Re: [I] Binary View Variadic Buffer Sizes are int64_t but variadic buffers only support int32_t [arrow]
Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd closed issue #44165: Binary View Variadic Buffer Sizes are int64_t but variadic buffers only support int32_t
URL: https://github.com/apache/arrow/issues/44165
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org