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) {