spark reduce类操作

reduce类函数分析:

----------------------------------------------------------------------------

待补全

----------------------------------------------------------------------------

要注意:

1、reduce先在各分区中做操作,随后进行整合。

2、reduce返回值类型和参加计算类型一样。

3、reduce过程不一定有shuffle的操作。

原文地址:https://www.cnblogs.com/suanec/p/4999818.html