Hive中时间日期函数的使用_hive to_date函数-CSDN博客

网站介绍:文章浏览阅读5.5k次,点赞3次,收藏21次。to_date:日期时间转日期函数select to_date(‘2015-04-02 13:34:12’);输出:2015-04-02from_unixtime:转化unix时间戳到当前时区的时间格式select from_unixtime(1323308943,’yyyyMMdd’);输出:20111208unix_timestamp:获取当前unix时间戳select unix..._hive to_date函数