Skip to content

Commit 66a5936

Browse files
committed
improve comments
1 parent c60711f commit 66a5936

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

datafusion/core/src/datasource/physical_plan/parquet/access_plan.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
use parquet::arrow::arrow_reader::RowSelection;
1919

20-
/// Specifies a selection of row groups / rows within a ParquetFile to decode.
20+
/// Specifies a selection of rows and row groups within a ParquetFile to decode.
2121
///
22-
/// This structure can limit the row groups and data pages a `ParquetExec` will
23-
/// read and decode.
22+
/// A `ParquetAccessPlan` is used to limits the row groups and data pages a `ParquetExec`
23+
/// will read and decode and this improve performance.
2424
///
2525
/// Note that page level pruning based on ArrowPredicate is applied after all of
2626
/// these selections

datafusion/core/src/datasource/physical_plan/parquet/page_filter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ fn find_column_index(
284284

285285
/// Intersects the [`RowSelector`]s
286286
///
287-
/// For exampe, given:
287+
/// For example, given:
288288
/// * `RowSelector1: [ Skip(0~199), Read(200~299)]`
289289
/// * `RowSelector2: [ Skip(0~99), Read(100~249), Skip(250~299)]`
290290
///

0 commit comments

Comments
 (0)