- 最新
- 投票最多
- 评论最多
Hello,
Timestamp with Time Zone is not supported by the glue crawler or by Athena. [+] https://repost.aws/questions/QUiFhuBzMrR3-QQV1W4XgIgA/no-time-with-time-zone-data-type-in-aws-glue-crawler
If you have a table column of type TIMESTAMP, Athena expects the corresponding column or property of the data to be a string in the format YYYY-MM-DD HH:MM:SS.SSS (note the space between the date and time), or a built-in time type like those for Parquet, ORC, or Ion. Please refer: https://docs.aws.amazon.com/athena/latest/ug/data-types.html
Your finding about casting these timestamp(3) with time zone columns to timestamp is one of the workarounds suggested by us to fix this issue.
In your case, if you didn't face any issue with Timestamp with Time Zone columns when used with the Symlink Manifest, please consider to create a support case with AWS Technical support and provide some sample data for detailed investigation. Refer below for creating a support case with AWS: https://docs.aws.amazon.com/awssupport/latest/user/case-management.html
Exactly the same case here, we used Symlink Manifest format to query Delta tables and after changing the table classification to Delta the issue started.
I still have my Symlink Manifest table, and when I query using the Symlink Manifest it works, but the delta one doesn't.
Both tables point to the same parquet files, looks like an Athena issue.