You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/05 15:30:42 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #3044: Fix `IsNull` pruning expression generation without null_count statistics

alamb commented on code in PR #3044:
URL: https://github.com/apache/arrow-datafusion/pull/3044#discussion_r938932402


##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -639,7 +639,7 @@ fn build_is_null_column_expr(
         Expr::Column(ref col) => {
             let field = schema.field_with_name(&col.name).ok()?;
 
-            let null_count_field = &Field::new(field.name(), DataType::UInt64, false);
+            let null_count_field = &Field::new(field.name(), DataType::UInt64, true);

Review Comment:
   This is the fix



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org