hive cst 时间转换

select from_unixtime(unix_timestamp(r.collecttime,'EEE MMM dd HH:mm:ss zzz yyyy'),'yyyy-MM-dd HH:mm:ss')
from  r_contactcheat_detail r  limit 5;

posted @ 2017-04-20 17:59  残阳飞雪  阅读(569)  评论(0编辑  收藏  举报