fallintoplace opened a new pull request, #1137: URL: https://github.com/apache/arrow-go/pull/1137
### Rationale for this change NewColumnChunkMetaData dereferences column metadata while preparing encoding information. A malformed unencrypted ColumnChunk without MetaData therefore panics instead of returning its error result. Encrypted chunks may legitimately populate plaintext metadata during decryption. ### What changes are included in this PR? Check for missing metadata after the decryption path and return an error for malformed chunks. Add regression coverage while preserving encrypted metadata handling. ### Are these changes tested? - `go test ./parquet/metadata` ### Are there any user-facing changes? Malformed unencrypted column chunks now return an error instead of panicking. Valid encrypted column chunks are unchanged. -- 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]
