HIVE- 时间函数

select from_unixtime(unix_timestamp(), 'yyyyMMdd')

--今天,格式是20220101

 

posted @ 2022-04-18 17:58  冉溪  阅读(24)  评论(0编辑  收藏  举报