morrySnow commented on code in PR #14867:
URL: https://github.com/apache/doris/pull/14867#discussion_r1045525600
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rewrite/rules/TypeCoercion.java:
##########
@@ -160,6 +164,17 @@ public Expression visitInPredicate(InPredicate
inPredicate, ExpressionRewriteCon
.orElse(newInPredicate);
}
+ @Override
+ public Expression visitBitNot(BitNot bitNot, ExpressionRewriteContext
context) {
+ Expression child = bitNot.child();
Review Comment:
need to rewrite child first.
```
Expression child = rewrite(bitNot.child(), context);
```
--
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]