BiteTheDDDDt commented on code in PR #20562:
URL: https://github.com/apache/doris/pull/20562#discussion_r1222383111


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java:
##########
@@ -1575,6 +1575,16 @@ && collectChildReturnTypes()[0].isDecimalV3()) {
             }
         }
 
+        // if the input arg is not nullable, so the function of 
is_null/is_not_null
+        // result is very certain and there is no need to look at data in 
column.

Review Comment:
   use ExprRewriteRule rewrite `is_null_pred(not_nullable_column)` to `false`



-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to