Skip to content

Commit

Permalink
csv source yields too many column stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-sc committed Feb 19, 2025
1 parent cbeb26c commit ec9f8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl AnalysisContext {
input_schema: &Schema,
statistics: &[ColumnStatistics],
) -> Result<Self> {
(0..statistics.len())
(0..input_schema.fields.len())
.map(|idx| {
ExprBoundaries::try_from_column(input_schema, &statistics[idx], idx)
})
Expand Down

0 comments on commit ec9f8be

Please sign in to comment.