jackwener commented on code in PR #24224: URL: https://github.com/apache/doris/pull/24224#discussion_r1323502670
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/literal/DateLiteral.java: ########## @@ -115,27 +96,72 @@ public DateLiteral(DateLiteral other, DataType type) { this.day = other.day; } - protected void init(String s) throws AnalysisException { + // replace 'T' with ' ' + private static String replaceDelimiterT(String s) { + // Matcher matcher = Pattern.compile("^(\\d{2,4}-\\d{1,2}-\\d{1,2})T").matcher(s); + // if (matcher.find()) { + // return matcher.group(1) + " " + s.substring(matcher.end()); + // } + // return s; Review Comment: Will be done in next PR -- 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