Skip to content

Commit

Permalink
Make some functions public. (jorgecarleitao#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
RinChanNOWWW authored and ritchie46 committed Mar 29, 2023
1 parent 6626932 commit 49e3c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/parquet/read/indexes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub fn has_indexes(row_group: &RowGroupMetaData) -> bool {
/// This function is IO-bounded and calls `reader.read_exact` exactly once.
/// # Error
/// Errors iff the indexes can't be read or their deserialization to arrow is incorrect (e.g. invalid utf-8)
fn read_columns_indexes<R: Read + Seek>(
pub fn read_columns_indexes<R: Read + Seek>(
reader: &mut R,
chunks: &[ColumnChunkMetaData],
fields: &[Field],
Expand All @@ -264,7 +264,7 @@ fn read_columns_indexes<R: Read + Seek>(
}

/// Returns the set of (row) intervals of the pages.
fn compute_page_row_intervals(
pub fn compute_page_row_intervals(
locations: &[PageLocation],
num_rows: usize,
) -> Result<Vec<Interval>, ParquetError> {
Expand Down

0 comments on commit 49e3c59

Please sign in to comment.