xudong963 opened a new issue, #14659: URL: https://github.com/apache/datafusion/issues/14659
### Is your feature request related to a problem or challenge? ```sql > select to_unixtime(arrow_cast('2020-01-01 00:10:20.123'::timestamp, 'Timestamp(Second, Some("America/New_York"))')); Execution error: Unsupported data type Timestamp(Second, Some("America/New_York")) for function to_unixtime ``` ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context Timestamp without TZ is supported for `to_unixtime` ```sql > select to_unixtime(arrow_cast('2020-01-01 00:10:20.123'::timestamp, 'Timestamp(Second, None)')); +------------------------------------------------------------------------------------------+ | to_unixtime(arrow_cast(Utf8("2020-01-01 00:10:20.123"),Utf8("Timestamp(Second, None)"))) | +------------------------------------------------------------------------------------------+ | 1577837420 | +------------------------------------------------------------------------------------------+ ``` -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org