Skip to content

Commit 3110518

Browse files
kosiewzhuqi-lucas
andauthored
Update datafusion/datasource-parquet/src/row_filter.rs
Co-authored-by: Qi Zhu <[email protected]>
1 parent a01f0b2 commit 3110518

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

datafusion/datasource-parquet/src/row_filter.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@ pub(crate) struct FilterCandidate {
195195
filter_schema: SchemaRef,
196196
}
197197

198-
/// Tracks the projection of an expression in both root and leaf coordinates.
198+
/// Projection specification for nested columns using Parquet leaf column indices.
199+
///
200+
/// For nested types like List and Struct, Parquet stores data in leaf columns
201+
/// (the primitive fields). This struct tracks which leaf columns are needed
202+
/// to evaluate a filter expression.
199203
#[derive(Debug, Clone)]
200204
struct LeafProjection {
201205
/// Leaf column indices in the Parquet schema descriptor.

0 commit comments

Comments
 (0)