Skip to content

Commit

Permalink
Update datafusion-examples/examples/advanced_parquet_index.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Huang <[email protected]>
  • Loading branch information
alamb and Weijun-H authored Jun 14, 2024
1 parent 05febf8 commit 9030e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion-examples/examples/advanced_parquet_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ impl IndexTableProvider {

// If we want to use row selections, which the parquet reader can
// use to skip data pages when the parquet file has a "page index"
// and the reader is configured to read it, add a row seelction
// and the reader is configured to read it, add a row selection
if self.use_row_selections() {
let offset_in_row_group = val - row_group_index * num_rows_in_row_group;
let selection = RowSelection::from(vec![
Expand Down

0 comments on commit 9030e7b

Please sign in to comment.