Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Exposed metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Sep 7, 2021
1 parent 38afde4 commit 3abb7f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/io/parquet/read/record_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ impl<R: Read + Seek> RecordReader<R> {
&self.schema
}

pub fn metadata(&self) -> &FileMetaData {
self.metadata.as_ref()
}

pub fn set_groups_filter(&mut self, groups_filter: GroupFilter) {
self.groups_filter = Some(groups_filter);
}
Expand Down

0 comments on commit 3abb7f8

Please sign in to comment.