标签: hive hiveql impala
我正在尝试计算两个日期之间的时差,所以我需要排除周末时间。
这只差几个小时。谢谢您的帮助
select floor((unix_timestamp(now()) - unix_timestamp(te.`date open`))/(60*60))