Skip to content

Commit

Permalink
[Refactor] Fix typo of error message (StarRocks#17432)
Browse files Browse the repository at this point in the history
Signed-off-by: liuyehcf <[email protected]>
  • Loading branch information
liuyehcf authored Feb 6, 2023
1 parent ce40d5c commit a265811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ public Void visitFunctionCall(FunctionCallExpr node, Scope scope) {
fn = Expr.getBuiltinFunction(fnName, argumentTypes, Function.CompareMode.IS_SUPERTYPE_OF);
} else if (fnName.equals(FunctionSet.ARRAY_CONCAT)) {
if (node.getChildren().size() < 2) {
throw new SemanticException(fnName + " should have at least tow inputs");
throw new SemanticException(fnName + " should have at least two inputs");
}
fn = Expr.getBuiltinFunction(fnName, argumentTypes, Function.CompareMode.IS_NONSTRICT_SUPERTYPE_OF);
} else {
Expand Down

0 comments on commit a265811

Please sign in to comment.