Hive經常使用函數 -- 日期函數

UNIX時間戳轉日期函數: from_unixtime 語法: from_unixtime(bigint unixtime[, string format]) 返回值: string 說明: 轉化UNIX時間戳(從1970-01-01 00:00:00 UTC到指定時間的秒數)到當前時區的時間格式 hive> select from_unixtime(1323308943,'yyyyMMdd')
相關文章
相關標籤/搜索