HIVE- 时间函数

select from_unixtime(unix_timestamp(), 'yyyyMMdd')

--今天,格式是20220101

 

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