From 888408309f360df9741f666a84de96a0b89baf56 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Wed, 3 Apr 2024 04:52:01 -0400 Subject: [PATCH] Expose ArrowReaderMetadata::try_new (#5583) --- parquet/src/arrow/arrow_reader/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/parquet/src/arrow/arrow_reader/mod.rs b/parquet/src/arrow/arrow_reader/mod.rs index 83d6f6f553fc..3b4c09314374 100644 --- a/parquet/src/arrow/arrow_reader/mod.rs +++ b/parquet/src/arrow/arrow_reader/mod.rs @@ -270,10 +270,7 @@ impl ArrowReaderMetadata { Self::try_new(Arc::new(metadata), options) } - pub(crate) fn try_new( - metadata: Arc, - options: ArrowReaderOptions, - ) -> Result { + pub fn try_new(metadata: Arc, options: ArrowReaderOptions) -> Result { let kv_metadata = match options.skip_arrow_metadata { true => None, false => metadata.file_metadata().key_value_metadata(),