Skip to content

Commit

Permalink
Expose ArrowReaderMetadata::try_new (#5583)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Apr 3, 2024
1 parent ec85145 commit 8884083
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions parquet/src/arrow/arrow_reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,7 @@ impl ArrowReaderMetadata {
Self::try_new(Arc::new(metadata), options)
}

pub(crate) fn try_new(
metadata: Arc<ParquetMetaData>,
options: ArrowReaderOptions,
) -> Result<Self> {
pub fn try_new(metadata: Arc<ParquetMetaData>, options: ArrowReaderOptions) -> Result<Self> {
let kv_metadata = match options.skip_arrow_metadata {
true => None,
false => metadata.file_metadata().key_value_metadata(),
Expand Down

0 comments on commit 8884083

Please sign in to comment.