morrySnow commented on code in PR #50453: URL: https://github.com/apache/doris/pull/50453#discussion_r2108551027
########## fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnBE.java: ########## @@ -231,6 +231,11 @@ private static boolean shouldSkipFold(Expression expr) { return true; } + // Skip from_base64 function to avoid incorrect binary data processing during constant folding + if (expr instanceof BoundFunction && ((BoundFunction) expr).getName().equalsIgnoreCase("from_base64")) { Review Comment: expr instance of FromBase64 -- 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