This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new c3edf390e54 branch-3.1: [fix](nereids) set FoldConstantRuleOnFE
pattern for MATH series functions #54752 (#55151)
c3edf390e54 is described below
commit c3edf390e54298706528a71b7db1eb1c69668437
Author: minghong <[email protected]>
AuthorDate: Fri Aug 22 17:22:37 2025 +0800
branch-3.1: [fix](nereids) set FoldConstantRuleOnFE pattern for MATH series
functions #54752 (#55151)
pick #54752
---
.../doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java
index b9ac7ef08e2..afd6e788cd1 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java
@@ -182,7 +182,8 @@ public class FoldConstantRuleOnFE extends
AbstractExpressionRewriteRule
matches(Version.class, this::visitVersion),
matches(SessionUser.class, this::visitSessionUser),
matches(LastQueryId.class, this::visitLastQueryId),
- matches(Nvl.class, this::visitNvl)
+ matches(Nvl.class, this::visitNvl),
+ matches(Match.class, this::visitMatch)
);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]