You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/07/09 14:27:22 UTC

[GitHub] [arrow] bkietz commented on pull request #10606: ARROW-13005: [C++] Add support for take implementation on dense union type

bkietz commented on pull request #10606:
URL: https://github.com/apache/arrow/pull/10606#issuecomment-877229283


   The 2GB limitation applies to buffers and is type specific. It derives from usage of signed 32 bit integers to encode offsets, so for example a StringArray cannot have more than 2GB total character data because otherwise we could not express the final offset. IIUC it's allowed for a child of the union to be an Int8Array with `2**33` elements but a dense union's offsets could not point to most of those elements.
   
   In short, this is not a constraint you need to enforce in this PR.


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