[FIX](literal) fix expression literal error #29157

This commit is contained in:
amory
2023-12-28 23:08:01 +08:00
committed by GitHub
parent a90304c208
commit feebe3e6fb
3 changed files with 35 additions and 1 deletions

View File

@ -278,8 +278,10 @@ public enum ExpressionFunctions {
LiteralExpr[] exprs;
if (argType.isStringType()) {
exprs = new StringLiteral[args.size()];
} else if (argType.isFixedPointType()) {
} else if (argType.isIntegerType()) {
exprs = new IntLiteral[args.size()];
} else if (argType.isLargeIntType()) {
exprs = new LargeIntLiteral[args.size()];
} else if (argType.isDateType()) {
exprs = new DateLiteral[args.size()];
} else if (argType.isDecimalV2() || argType.isDecimalV3()) {