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/25 18:22:24 UTC

[jira] [Commented] (SPARK-2278) groupBy should support custom comparator

    [ https://issues.apache.org/jira/browse/SPARK-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043694#comment-14043694 ] 

Hans Uhlig commented on SPARK-2278:
-----------------------------------

See http://hadoop.apache.org/docs/r2.3.0/api/org/apache/hadoop/mapreduce/Job.html#setGroupingComparatorClass(java.lang.Class) for related MapReduce function.

> groupBy should support custom comparator
> ----------------------------------------
>
>                 Key: SPARK-2278
>                 URL: https://issues.apache.org/jira/browse/SPARK-2278
>             Project: Spark
>          Issue Type: New Feature
>          Components: Java API
>    Affects Versions: 1.0.0
>            Reporter: Hans Uhlig
>
> To maintain parity with MapReduce you should be able to specify a custom key equality function in groupBy similar to sortByKey. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)