fallintoplace opened a new pull request, #1010: URL: https://github.com/apache/arrow-go/pull/1010
### Rationale for this change Parquet statistics may be shorter than the physical type width. The current fixed-width decoding path ignores a failed PLAIN decode, which turns a partial statistic into zero, while direct formatting can panic on a short slice. ### What changes are included in this PR? - Zero-pad fixed-width numeric and FLOAT16 statistics before decoding. - Keep truncated FIXED_LEN_BYTE_ARRAY values at their encoded length. - Make `GetStatValue` zero-pad short fixed-width values before formatting. - Regenerate the typed statistics implementation from its template. ### Are these changes tested? Yes. Focused tests cover partial numeric values, empty booleans, every fixed-width formatting path, and truncated FIXED_LEN_BYTE_ARRAY values. -- 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]
