From 0a9fa590e2e82146ca7d25156383766d1fedb4d9 Mon Sep 17 00:00:00 2001 From: zhangstar333 <2561612514@qq.com> Date: Wed, 20 Sep 2023 17:44:45 +0800 Subject: [PATCH] [bug](expr) forget write date_liter expr code info --- fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java index 4f5c1e596c4e00..a84fe15ec98bfb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java @@ -2075,6 +2075,8 @@ public static void writeTo(Expr expr, DataOutput output) throws IOException { output.writeInt(ExprSerCode.INT_LITERAL.getCode()); } else if (expr instanceof LargeIntLiteral) { output.writeInt(ExprSerCode.LARGE_INT_LITERAL.getCode()); + } else if (expr instanceof DateLiteral) { + output.writeInt(ExprSerCode.DATE_LITERAL.getCode()); } else if (expr instanceof FloatLiteral) { output.writeInt(ExprSerCode.FLOAT_LITERAL.getCode()); } else if (expr instanceof DecimalLiteral) {