You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Nathan Schile (JIRA)" <ji...@apache.org> on 2016/09/29 21:23:20 UTC

[jira] [Created] (CRUNCH-623) Improve PTable#cogroup Javadoc

Nathan Schile created CRUNCH-623:
------------------------------------

             Summary: 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


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)