jollygrass opened a new issue, #11451: URL: https://github.com/apache/doris/issues/11451
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.1.0 ### What's Wrong? CURRENT_DATE函数返回日期无法与日期常量正确比较, CURRENT_DATE()与当天日期比较返回false,而用CURDATE函数比较是正确的。 ### What You Expected? CURRENT_DATE()与当天日期能够正确比较,返回True。 ### How to Reproduce? SELECT CURDATE() = DATE '2022-08-03', CURRENT_DATE() = DATE '2022-08-03', CURDATE() = CURRENT_DATE(), CURRENT_DATE(), CURDATE(); curdate() = '2022-08-03 00:00:00'|current_date() = '2022-08-03 00:00:00'|curdate() = current_date()|current_date()|curdate() | ---|---|---|---|---| 1| 0|0|2022-08-03|2022-08-03| ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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.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