You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hans Uhlig (JIRA)" <ji...@apache.org> on 2014/06/26 17:50:24 UTC
[jira] [Commented] (SPARK-2280) Java & Scala reference docs should
describe function reference behavior.
[ https://issues.apache.org/jira/browse/SPARK-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044780#comment-14044780 ]
Hans Uhlig commented on SPARK-2280:
-----------------------------------
This looks to be partially done for the Python docs although some more complex examples might be better.
> Java & Scala reference docs should describe function reference behavior.
> ------------------------------------------------------------------------
>
> Key: SPARK-2280
> URL: https://issues.apache.org/jira/browse/SPARK-2280
> Project: Spark
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 1.0.0
> Reporter: Hans Uhlig
>
> Example
> <K> JavaPairRDD<K,Iterable<T>> groupBy(Function<T,K> f)
> Return an RDD of grouped elements. Each group consists of a key and a sequence of elements mapping to that key.
> T and K are not described and there is no explanation of what the function's inputs and outputs should be and how GroupBy uses this information.
--
This message was sent by Atlassian JIRA
(v6.2#6252)