myandpr commented on code in PR #20965:
URL: https://github.com/apache/datafusion/pull/20965#discussion_r2960453345
##########
datafusion/optimizer/src/analyzer/type_coercion.rs:
##########
@@ -559,6 +561,20 @@ impl TreeNodeRewriter for TypeCoercionRewriter<'_> {
Expr::IsNotUnknown(expr) => Ok(Transformed::yes(is_not_unknown(
get_casted_expr_for_bool_op(*expr, self.schema)?,
))),
+ Expr::Negative(expr) => {
+ let data_type = expr.get_type(self.schema)?;
Review Comment:
Thanks for double checking, and thanks for the careful review.🙏
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]