Presto语法记录
Presto语法记录presto时间函数与hive区别1.标准时间格式——时间戳hive:select unix_timestamp(cast (’2017-08-30 10:36:15‘ as timestamp))presto:select to_unixtime(cast (’2017-08-30 10:36:15‘ as timestamp))2.时间戳——标准时间格式presto:select format_datetime(from_unixtime(1510284058),’
原创
2020-09-03 00:15:01 ·
1600 阅读 ·
0 评论