Cherry-Puppy opened a new issue, #18787: URL: https://github.com/apache/doris/issues/18787
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.2.3-rc02 ### What's Wrong? <img width="602" alt="image" src="https://user-images.githubusercontent.com/46736583/232752513-aefe50fd-d7ae-4982-8ba7-a02257aee5e6.png"> Incorrect return when using CURRNT_DATE() ### What You Expected? Expect to return 2023-01-01 00:00:00 ps: select year_floor(CURRENT_DATE()) ### How to Reproduce? select year_floor(CURRENT_DATE()) ### Anything Else? Use "select year_floor(cast(CURRENT_DATE() as STRING));" to avoid ### Are you willing to submit PR? - [X] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
