Skip to content

Commit

Permalink
remove useless annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted-Jiang committed Jun 30, 2022
1 parent d65234c commit 1eb54b4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion parquet/src/arrow/array_reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub trait RowGroupCollection {
fn column_chunks(
&self,
i: usize,
row_groups_filter_offset_index: Option<&Vec<Vec<FilterOffsetIndex>>>,
_row_groups_filter_offset_index: Option<&Vec<Vec<FilterOffsetIndex>>>,
) -> Result<Box<dyn PageIterator>>;
}

Expand Down
2 changes: 1 addition & 1 deletion parquet/src/arrow/arrow_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl ArrowReaderOptions {
self
}

/// Set `skip_page_offset`, to skip decoding specific pages
/// Set `selected_rows`, to skip decoding specific pages
pub fn with_skip_page_offset(mut self, selected_rows: RowRanges) -> Self {
self.selected_rows = Some(selected_rows);
self
Expand Down
2 changes: 1 addition & 1 deletion parquet/src/arrow/async_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ impl RowGroupCollection for InMemoryRowGroup {
fn column_chunks(
&self,
i: usize,
row_groups_filter_offset_index: Option<&Vec<FilterOffsetIndex>>,
_row_groups_filter_offset_index: Option<&Vec<Vec<FilterOffsetIndex>>>,
) -> Result<Box<dyn PageIterator>> {
//todo support page level filter
let page_reader = self.column_chunks[i].as_ref().unwrap().pages();
Expand Down
3 changes: 0 additions & 3 deletions parquet/src/column/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ where
// Read exhaustively all pages until we read all batch_size values/levels
// or there are no more values/levels to read.
while max(values_read, levels_read) < batch_size {
//TODO
//add filter page
// only read page header and set buf,decoder
if !self.has_next()? {
break;
}
Expand Down

0 comments on commit 1eb54b4

Please sign in to comment.