danvid opened a new issue, #24312: URL: https://github.com/apache/doris/issues/24312
### 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 2.0.1 ### What's Wrong? convert_tz function input datetimev3(3) loss millisecond example1: SELECT convert_tz(CAST('2023-09-12T09:23:43.777Z' as datetimev2(3)),'Etc/UTC','Asia/Shanghai') result1:2023-09-13 01:23:43.000 problem:loss millisecond and wrong timezone ------ example2: SELECT convert_tz('2023-09-12 09:23:43.777','Etc/UTC','Asia/Shanghai'); result1:2023-09-12 17:23:43.000 problem:loss millisecond ### What You Expected? example1: SELECT convert_tz(CAST('2023-09-12T09:23:43.777Z' as datetimev2(3)),'Etc/UTC','Asia/Shanghai') Expected:2023-09-13 17:23:43.777 ------ example2: SELECT convert_tz('2023-09-12 09:23:43.777','Etc/UTC','Asia/Shanghai'); Expected:2023-09-12 17:23:43.777 ### How to Reproduce? _No response_ ### 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: [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]
