如何做地图和减少SparkR [英] How to do map and reduce in SparkR

查看:157
本文介绍了如何做地图和减少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.

这篇关于如何做地图和减少SparkR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆