WeisonWei opened a new issue, #50804: URL: https://github.com/apache/doris/issues/50804
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description When using the built-in unix_timestamp function in Doris (tested on version 2.1.6), I found that it does not support some commonly used custom date formats such as 'yyyyMMdd HH:mm:ss'. For example, the following query works well in Presto, but returns NULL in Doris.  ### Use case SELECT UNIX_TIMESTAMP('20250510 07:00:18', 'yyyyMMdd HH:mm:ss'); ### Related issues _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]
