morningman commented on code in PR #15649:
URL: https://github.com/apache/doris/pull/15649#discussion_r1062607378
##########
fe/fe-core/src/main/java/org/apache/doris/common/util/DynamicPartitionUtil.java:
##########
@@ -740,8 +740,7 @@ public static String
getHistoryPartitionRangeString(DynamicPartitionProperty dyn
date = simpleDateFormat.parse(time);
} catch (ParseException e) {
LOG.warn("Parse dynamic partition periods error. Error={}",
e.getMessage());
- return getFormattedTimeWithoutMinuteSecond(
- ZonedDateTime.parse(timestamp.toString(),
dateTimeFormatter), format);
+ throw new AnalysisException("Parse dynamic partition periods
error. Error=" + e.getMessage());
Review Comment:
Why changing this logic?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]