hive小问题

xiaoxiao2025-06-03  48

--常见时间类型转换

cst时间转正常时间 from_unixtime(unix_timestamp( datadate,'EEE MMM dd HH:mm:Ss z yyyy'),'yyyy-MM-dd') 

时间戳转时间 from_unixtime(cast(substr( tttimestamp ,1,10) as BIGINT),'yyyy-MM-dd HH:mm:ss') 

转载请注明原文地址: https://www.6miu.com/read-5031190.html

最新回复(0)