hcrosse opened a new pull request, #1619: URL: https://github.com/apache/arrow-go/pull/1619
### Rationale for this change On 32 bit platforms, validation accepts invalid arrays or panics when `int` overflows. ### What changes are included in this PR? These checks now compare in `int64`: view ranges and view buffer size, list view offset counts, `Struct` child lengths, run end coverage, and `LargeBinary` and `LargeString` first and last offsets. Error formats are unchanged. The existing `TestStructValidateRejectsOffsetLengthOverflow` covers the `Struct` check. It fails on 32 bit platforms without this change and passes with it. ### Are these changes tested? Yes. I added tests for overflowing view ranges, view and list view layouts, run end coverage and large offsets. ### Are there any user-facing changes? Yes. Validation returns errors for these arrays on 32 bit platforms instead of accepting them or panicking. There is no API change. Closes #1616. -- 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]
