Hive 時間戳和日期相互轉換

時間戳轉成日期 select distinct from_unixtime(1441565203,‘yyyy/MM/dd HH:mm:ss’) from test_date;web 日期轉成時間戳 select distinct unix_timestamp(‘20111207 13:01:03’) from test_date; // 默認格式爲「yyyy-MM-dd HH:mm:ss「svg
相關文章
相關標籤/搜索