- Big Data Analytics with Hadoop 3
- Sridhar Alla
- 127字
- 2021-06-25 21:26:20
Cross join
Cross join matches every row from the left with every row from the right, generating a Cartesian cross product. This is to be used with caution, as it is the worst performing join, to be used in specific use cases only:

This will output all temperatures for all cities, generating 6 x 6 records (36 output records). This join is usually not used, as the output can be very large, and it is not that useful in most cases.
Thus, we can implement different joins using the multiple mapper approach.
The multiple mappers reducer job seen earlier is a good example of a join pattern.
Depending on the use case, a join pattern can be customized to generate the intended output.
推薦閱讀
- 輕輕松松自動化測試
- 微型計(jì)算機(jī)控制技術(shù)
- 最后一個人類
- 工業(yè)機(jī)器人應(yīng)用案例集錦
- Excel 2007技巧大全
- 突破,Objective-C開發(fā)速學(xué)手冊
- Hands-On Reactive Programming with Reactor
- 軟件工程及實(shí)踐
- Working with Linux:Quick Hacks for the Command Line
- 工業(yè)機(jī)器人實(shí)操進(jìn)階手冊
- 步步驚“芯”
- EJB JPA數(shù)據(jù)庫持久層開發(fā)實(shí)踐詳解
- C#編程兵書
- 從實(shí)踐中學(xué)嵌入式Linux操作系統(tǒng)
- 傳感器原理及應(yīng)用(第二版)