2017年2月27日
摘要: 1、使用MapPartitions代替map 1.1 为什么要死使用MapPartitions代替map 普通的map,每条数据都会传入function中进行计算一次;而是用MapPartitions时,function会一次接受所有partition的数据出入到function中计算一次,性能较高 阅读全文
posted @ 2017-02-27 10:31 YL10000 阅读(3224) 评论(0) 推荐(0)