[ 
https://issues.apache.org/jira/browse/CRUNCH-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Schile updated CRUNCH-623:
---------------------------------
    Attachment: 0001-Improves-Javadoc-of-PTable-cogroup.patch

Patch for Javadoc changes.

> Improve PTable#cogroup Javadoc
> ------------------------------
>
>                 Key: CRUNCH-623
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-623
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Nathan Schile
>            Assignee: Josh Wills
>            Priority: Trivial
>         Attachments: 0001-Improves-Javadoc-of-PTable-cogroup.patch
>
>
> The Javadoc for PTable#cogroup maybe confusing when comparing it to the 
> PTable#join javadoc
> {noformat}
>   /**
>    * Perform an inner join on this table and the one passed in as an argument 
> on
>    * their common keys.
>    */
>   <U> PTable<K, Pair<V, U>> join(PTable<K, U> other);
>   /**
>    * Co-group operation with the given table on common keys.
>    */
>   <U> PTable<K, Pair<Collection<V>, Collection<U>>> cogroup(PTable<K, U> 
> other);
> {noformat}
> The phrasing of "common keys" in the cogroup method make it sound like the 
> cogroup will be a inner join on the table. I think removing the "common keys" 
> from the cogroup method will remove that confusion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to