morrySnow commented on code in PR #36111:
URL: https://github.com/apache/doris/pull/36111#discussion_r1637432196
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/ExpressionTrait.java:
##########
@@ -76,4 +76,11 @@ default String toSql() throws UnboundException {
default boolean foldable() {
return true;
}
+
+ /**
+ * Identify the expression is deterministic or not
+ */
+ default boolean isDeterministic() {
+ return true;
Review Comment:
recursive call children's isDeterministic
--
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]