yangzhg opened a new issue, #15284: URL: https://github.com/apache/doris/issues/15284
### 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 master ### What's Wrong? time_zone not work for function `from_unixtime` ### What You Expected? time_zone is work for `from_unixtime` ### How to Reproduce? ``` set enable_fold_constant_by_be=true; set time_zone="+00:00"; MySQL [(none)]> select from_unixtime(1553152255); +---------------------------+ | from_unixtime(1553152255) | +---------------------------+ | 2019-03-21 15:10:55 | +---------------------------+ 1 row in set (0.009 sec) ``` it should be ``` MySQL [(none)]> select from_unixtime(1553152255); +---------------------------+ | from_unixtime(1553152255) | +---------------------------+ | 2019-03-21 07:10:55 | +---------------------------+ 1 row in set (0.009 sec) ``` ### 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]
