Hive中就是把Map,Reduce的Join拿过来,通过SQL来表示。
参考链接:LanguageManual Joins - Apache Hive - Apache Software Foundation
1.Reduce /Common/Shuffle Join
Reduce Join在Hive中也叫Common Join或Shuffle Join
它会进行把相同key的value合在一起,正好符合我们在sql中的join,然后再去组合,如图所示。
hive join操作默认使用的就是reduce join,reduce side join是一种最简单的join方式,其主要思想如下:
在map阶段,