This is an automated email from the ASF dual-hosted git repository. kamille pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push: new 66b4da2c17 Fix build due to logical error (#14345) 66b4da2c17 is described below commit 66b4da2c17b4538c936a6a080b4187b77b8dcd35 Author: Andrew Lamb <and...@nerdnetworks.org> AuthorDate: Wed Jan 29 01:14:15 2025 -0500 Fix build due to logical error (#14345) --- datafusion/physical-plan/src/filter.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datafusion/physical-plan/src/filter.rs b/datafusion/physical-plan/src/filter.rs index 39f022b58c..91c44a4139 100644 --- a/datafusion/physical-plan/src/filter.rs +++ b/datafusion/physical-plan/src/filter.rs @@ -463,6 +463,7 @@ fn collect_new_statistics( null_count: Precision::Exact(0), max_value: Precision::Exact(ScalarValue::Null), min_value: Precision::Exact(ScalarValue::Null), + sum_value: Precision::Exact(ScalarValue::Null), distinct_count: Precision::Exact(0), }; }; @@ -1090,12 +1091,14 @@ mod tests { ColumnStatistics { min_value: Precision::Exact(ScalarValue::Null), max_value: Precision::Exact(ScalarValue::Null), + sum_value: Precision::Exact(ScalarValue::Null), distinct_count: Precision::Exact(0), null_count: Precision::Exact(0), }, ColumnStatistics { min_value: Precision::Exact(ScalarValue::Null), max_value: Precision::Exact(ScalarValue::Null), + sum_value: Precision::Exact(ScalarValue::Null), distinct_count: Precision::Exact(0), null_count: Precision::Exact(0), }, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org