diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java index 9235759445b7fe..3c2f0d546dd04a 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java @@ -206,12 +206,6 @@ private static void collectConst(Expression expr, Map constM || (expr instanceof ArrayItemReference) || (expr instanceof Match)) { return; } - // Tokenize function want check the second child literal must be string type - // and properties format, it's a little special, - // maybe check in checkLegalityBeforeTypeCoercion function? - if (expr instanceof Tokenize) { - expr.checkLegalityAfterRewrite(); - } String id = idGenerator.getNextId().toString(); constMap.put(id, expr); Expr staleExpr;