diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/util/FileFormatUtils.java b/fe/fe-core/src/main/java/org/apache/doris/common/util/FileFormatUtils.java index 591eb031580dd1..c79647a9c36a8e 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/common/util/FileFormatUtils.java +++ b/fe/fe-core/src/main/java/org/apache/doris/common/util/FileFormatUtils.java @@ -104,7 +104,7 @@ private static Type parseType(String typeStr) throws AnalysisException { int scale = Integer.parseInt(matcher.group(2)); return ScalarType.createDecimalV3Type(precision, scale); } else if (typeStr.equals("date")) { - return ScalarType.DATE; + return ScalarType.createDateType(); } else if (typeStr.startsWith("timestamp")) { int scale = 0; if (!typeStr.equals("timestamp")) {