如何做地图和减少SparkR
问题描述:
我怎么地图,并使用SparkR降低运营?所有我能找到的是有关SQL查询的东西。有没有办法做地图和减少使用SQL?
How do I do map and reduce operations using SparkR? All I can find is stuff about SQL queries. Is there a way to do map and reduce using SQL?
答
请参阅Writing R数据帧从SparkR :::地图返回为例(这个问题本身)。总之,通过sph21提到的博客文章是过时的。由于当前的日期,既映射,减少SparkR被隐藏的私有方法 - 有公开船票来解决这个问题。
See Writing R data frames returned from SparkR:::map for an example (the question itself). In short, the blog post referred to by sph21 is out of date. As of the current date, both map and reduce have been hidden in SparkR as private methods - there are open tickets to resolve that issue.