官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 曲阳县| 温宿县| 桦甸市| 大邑县| 西畴县| 平罗县| 于田县| 固原市| 平和县| 佛冈县| 礼泉县| 济阳县| 恩施市| 茶陵县| 木兰县| 酉阳| 青州市| 宁河县| 安阳市| 五大连池市| 读书| 威信县| 濉溪县| 新丰县| 和林格尔县| 肃南| 离岛区| 上虞市| 永善县| 唐山市| 新沂市| 南通市| 凤庆县| 新源县| 温泉县| 会宁县| 元江| 巍山| 德保县| 肥乡县| 奈曼旗|