yangzhg commented on code in PR #15649:
URL: https://github.com/apache/doris/pull/15649#discussion_r1063021327


##########
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:
   because of timestamp is null at this time



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to