crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-179) Add a properly typed union() method to PCollection and PTable
Date Thu, 07 Mar 2013 16:06:12 GMT

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

Josh Wills commented on CRUNCH-179:
-----------------------------------

The funny thing is I that I have use cases where I grab a whole bunch of PCollections and
union them all at once. How about deprecating the varargs and replacing it with a List<T>
or Iterable<T> option for union?
                
> Add a properly typed union() method to PCollection and PTable
> -------------------------------------------------------------
>
>                 Key: CRUNCH-179
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-179
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>            Priority: Minor
>         Attachments: CRUNCH-179.patch
>
>
> I find myself slightly (albeit persistently) irritated by the warnings that come up in
Eclipse as a function of using varargs for the union method on PCollection and PTable, so
I wrote a union() method that takes a single argument and delegates to the regular union method.
No functional change, just cleans up an irritating warning in my client code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message