yangzhg commented on code in PR #11917: URL: https://github.com/apache/doris/pull/11917#discussion_r950997358
########## fe/fe-core/src/main/java/org/apache/doris/analysis/DateLiteral.java: ########## @@ -435,6 +435,9 @@ private void init(String s, Type type) throws AnalysisException { this.roundFloor(((ScalarType) type).getScalarScale()); } this.type = type; + if (checkRange() || checkDate()) { Review Comment: `checkRange` and `checkDate` return true is error 😂 [](https://github.com/yangzhg/doris/blob/881670566c0aa577dd83af69c7b3d9f7a3986ab2/fe/fe-core/src/main/java/org/apache/doris/analysis/DateLiteral.java#L1298) -- 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