Apache DataFusion SQL Query Engine
minor: add some comments to row group pruning tests (#4823)
Andrew Lamb24023b5de7cc
diff --git a/datafusion/core/src/physical_plan/file_format/parquet/row_groups.rs b/datafusion/core/src/physical_plan/file_format/parquet/row_groups.rsindex 4aae795b43..101102c927 100644--- a/datafusion/core/src/physical_plan/file_format/parquet/row_groups.rs+++ b/datafusion/core/src/physical_plan/file_format/parquet/row_groups.rs@@ -37,6 +37,13 @@ use crate::{use super::ParquetFileMetrics;+/// Returns a vector of indexes into `groups` which should be scanned.+///+/// If an index is NOT present in the returned Vec it means the+/// predicate filtered all the row group.+///+/// If an index IS present in the returned Vec it means the predicate+/// did not filter out that row group.pub(crate) fn prune_row_groups(groups: &[RowGroupMetaData],range: Option<FileRange>,