fallintoplace opened a new pull request, #1032: URL: https://github.com/apache/arrow-go/pull/1032
### Rationale for this change `RowGroupPageIndexReader` exposes error-returning methods, but malformed serialized column or offset indexes could panic inside the lower-level constructors. A corrupt Parquet file could therefore terminate the caller instead of producing a read error. ### What changes are included in this PR? * Convert page-index deserialization panics into errors at the row-group reader boundary. * Wrap failures with `arrow.ErrInvalid` and identify the affected index kind. * Preserve the existing lower-level constructor signatures for compatibility. ### Are these changes tested? Yes. Regression coverage exercises malformed serialized column and offset indexes. The full `parquet/metadata` package passes. -- 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]
