【发布时间】:2017-03-19 13:43:54
【问题描述】:
在 AWS Athena 表中,我有一个时间戳列,看起来像,
select eventtime from cloudtrail_logs limit 1
eventtime
---------
2016-10-21T01:18:28Z
我需要获取超过 7 天的事件时间。
我试过current()、unix_timestamp,但没有运气。
【问题讨论】:
-
只是为了验证?列的类型是什么?
-
它的字符串类型
标签: date amazon-web-services hive amazon-athena