Hive不支持intersect的解决办法

in Hive read (1053)

问题 有一个SQL语句要在hive里执行但是hive不支持intersect,所以要使用其他方法代替 思路 intersect就是取交集,可以使用inner join进行连接然后取其中一列并去重 原SQL select s_store_name ,sum(s...

Continue reading
  • page 1 of 1

Matrix42

Record and Share!