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 2020/09/16 09:34:32 UTC

[GitHub] [arrow] jhorstmann commented on a change in pull request #8183: ARROW-9990: [Rust] [DataFusion] Fixed the NOT operator

jhorstmann commented on a change in pull request #8183:
URL: https://github.com/apache/arrow/pull/8183#discussion_r489300959



##########
File path: rust/datafusion/src/physical_plan/expressions.rs
##########
@@ -1306,18 +1295,11 @@ impl PhysicalExpr for NotExpr {
     }
 
     fn nullable(&self, _input_schema: &Schema) -> Result<bool> {
-        // !Null == true
-        Ok(false)
+        Ok(true)

Review comment:
       Should we return `arg.nullable()` here?




----------------------------------------------------------------
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.

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