This is an automated email from the ASF dual-hosted git repository.
dheres pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 33aed330b9 Make with_file_decryption_properties pub instead of
pub(crate) (#9532)
33aed330b9 is described below
commit 33aed330b962d40e6e6b456bc4cd13ec80967f75
Author: Daniƫl Heres <[email protected]>
AuthorDate: Wed Mar 11 08:55:51 2026 +0100
Make with_file_decryption_properties pub instead of pub(crate) (#9532)
# Which issue does this PR close?
- Closes #NNN.
# Rationale for this change
I would like to use `ParquetMetaDataPushDecoder` in arrow-datafusion,
but the `with_file_decryption_properties` function is pub(crate), so I
can't fully implement the encryption feature.,
# What changes are included in this PR?
Make it pub
# Are these changes tested?
Not needed
# Are there any user-facing changes?
Now pub
---
parquet/src/file/metadata/push_decoder.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parquet/src/file/metadata/push_decoder.rs
b/parquet/src/file/metadata/push_decoder.rs
index abc7884262..e322525b71 100644
--- a/parquet/src/file/metadata/push_decoder.rs
+++ b/parquet/src/file/metadata/push_decoder.rs
@@ -308,7 +308,7 @@ impl ParquetMetaDataPushDecoder {
#[cfg(feature = "encryption")]
/// Provide decryption properties for decoding encrypted Parquet files
- pub(crate) fn with_file_decryption_properties(
+ pub fn with_file_decryption_properties(
mut self,
file_decryption_properties:
Option<std::sync::Arc<FileDecryptionProperties>>,
) -> Self {