CodeCooker17 commented on code in PR #19265: URL: https://github.com/apache/doris/pull/19265#discussion_r1189277741
########## fe/fe-core/src/main/java/org/apache/doris/common/util/TimeUtils.java: ########## @@ -190,16 +197,18 @@ public static synchronized Date parseDate(String dateStr, PrimitiveType type) th if (!matcher.matches()) { throw new AnalysisException("Invalid date string: " + dateStr); } + dateStr = formatDateStr(dateStr); Review Comment: Methods using DateTimeFormatter do not need to be synchronized -- 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