Skip to content

Commit

Permalink
[bug](expr) forget write date_liter expr code info
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Sep 20, 2023
1 parent 5a0ccd7 commit 0a9fa59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0a9fa59

Please sign in to comment.