You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jacob Tolar (JIRA)" <ji...@apache.org> on 2018/09/10 22:21:00 UTC
[jira] [Commented] (PIG-5357) BagFactory interface should support
creating a distinct bag from a set
[ https://issues.apache.org/jira/browse/PIG-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609857#comment-16609857 ]
Jacob Tolar commented on PIG-5357:
----------------------------------
Attached patch with what I mean.
> BagFactory interface should support creating a distinct bag from a set
> ----------------------------------------------------------------------
>
> Key: PIG-5357
> URL: https://issues.apache.org/jira/browse/PIG-5357
> Project: Pig
> Issue Type: Improvement
> Reporter: Jacob Tolar
> Priority: Minor
> Attachments: PIG-5357-1.patch
>
>
> It would be nice if BagFactory supported creating a distinct bag from a set of tuples, similar to:
> {code:java}
> newDefaultBag(List<Tuple> listOfTuples);
> {code}
> [https://github.com/apache/pig/blob/trunk/src/org/apache/pig/data/BagFactory.java]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)