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


##########
datafusion/optimizer/src/analyzer/type_coercion.rs:
##########
@@ -181,6 +181,17 @@ impl TreeNodeRewriter for TypeCoercionRewriter {
                     is_not_false(get_casted_expr_for_bool_op(&expr, 
&self.schema)?);
                 Ok(expr)
             }
+            Expr::IsUnknown(expr) => {
+                // will convert the 
binary(expr,IsNotDistinctFrom,lit(Boolean(None));

Review Comment:
   I don't understand this comment (and the one below it) -- maybe it belongs 
in the test that is updated below that refers to `IS UNKNOWN` ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to