autoCAT6 opened a new pull request, #55894: URL: https://github.com/apache/arrow/pull/55894
### Rationale for this change The reporter can read a single-key encrypted Parquet file in C++ but has no way to pass the key to R. Exposing the existing Parquet decryption properties lets R read these files through its usual single-file API. ### What changes are included in this PR? Add an optional `footer_key` to `ParquetReaderProperties$create()`. It accepts a 16-, 24-, or 32-byte raw vector, which the native binding passes to the Parquet decryption properties. The default is unchanged. Regenerate both R binding files and document the supported scope. ### Are these changes tested? The added tests cover ordinary reads, invalid key input, and a column projection from the existing Apache C++ encryption fixture. The Parquet R test file reports 108 passed assertions and two existing offline skips on R 4.5.3 linked against Arrow C++ 26.0.1. Fresh development and regular builds both pass. The development build regenerates bindings from source, and the regular build uses the tracked generated files. Local C++ fixture comparisons also verify both embedded and externally supplied AAD cases, and the distinction between footer-key and column-key layout. Hosted CI has not run for this local candidate. ### Are there any user-facing changes? Pass the properties to read_parquet() through reader_props. The supplied key applies to encrypted columns tagged as using the footer key. Columns tagged as using a separate column key require another decryption configuration, even if the bytes match the footer key. This change does not supply column-specific keys, catalog or KMS integration, or an AAD prefix stored outside the file. ### Was AI used for this PR? AI was used for the implementation, tests, and initial PR description. **PR code and description written by:** * [ ] Human * [x] AI **Reviewed before submission by:** * [x] Human * [x] AI * [ ] Not reviewed * GitHub Issue: Refs #30936 -- 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]
