如何在HIVE中进行Midnight_seconds娱乐

时间:2018-07-10 13:05:08

标签: hive hiveql

我想将以下db2查询转换为HIVE

 "current timestamp - 90 days - midnight_seconds(current time) seconds - microsecond(current timestamp) microseconds"

我得到了第一部分...就像

 "Date_sub(from_unixtime(unix_timestamp())-90)".

但是我没有将其余代码转换为HIVE

请帮助我。

0 个答案:

没有答案