zhengshengjun opened a new issue, #9711: URL: https://github.com/apache/incubator-doris/issues/9711
### 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.0.0 ### What's Wrong? I'm trying to replace Apache Druid with Doris in our business, but failed in time_around functions documented in https://doris.apache.org/zh-CN/sql-manual/sql-functions/date-time-functions/time_round.html#time-round Seems there are some bugs  ### What You Expected? 1. select day_floor('2022-05-03 13:09:20', 1) from test.flink_doris_druid limit 1; expect: 2022-05-04 00:00:00 turn out to be: 2022-05-03 00:00:00 2. select day_ceil('2022-05-03 13:09:20', 1) from test.flink_doris_druid limit 1; expect: 2022-05-05 00:00:00 turn out to be: 2022-05-04 00:00:00 3. select day_ceil('2022-05-03 13:09:20', 4) from test.flink_doris_druid limit 1; expect: 2022-05-09 00:00:00 turn out to be 2022-05-04 00:00:00 ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### 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]
