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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
