【发布时间】:2020-11-16 16:23:34
【问题描述】:
我在将此 varchar 转换为 AWS Athena 日期时间时遇到问题
“2012-06-10T11:33:25.202615+00:00”
我尝试过一些类似 date_parse(pickup, %Y-%m-%dT%T)
我想使用已转换的时间戳制作这样的视图
创建或替换视图 vw_ton AS
(
选择
ID,
date_parse(pickup, timestamp) 作为拾取,
date_parse(dropoff, timestamp) as dropoff,
来自“表”。“吨”
)
【问题讨论】:
标签: amazon-web-services datetime view type-conversion presto