This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 921149c1505 [branch-2.0](fix) fix SHA2's error message (#26335)
921149c1505 is described below

commit 921149c150547c35c5f1fe307dcb1145b52991b8
Author: zclllyybb <[email protected]>
AuthorDate: Fri Nov 3 12:24:46 2023 +0800

    [branch-2.0](fix) fix SHA2's error message (#26335)
---
 .../src/main/java/org/apache/doris/analysis/FunctionCallExpr.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
index 4042248c2f9..d02c5e5ddc0 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
@@ -1756,7 +1756,7 @@ public class FunctionCallExpr extends Expr {
             }
             final Integer constParam = (int) ((IntLiteral) 
getChild(1)).getValue();
             if (!Lists.newArrayList(224, 256, 384, 512).contains(constParam)) {
-                throw new AnalysisException("sha2 functions only support 
digest length of 224/256/384/512");
+                throw new AnalysisException("sha2's digest length only support 
224/256/384/512 but meet " + constParam);
             }
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to