[ https://issues.apache.org/jira/browse/PIG-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628924#comment-16628924 ]
Rohini Palaniswamy commented on PIG-5357: ----------------------------------------- All of the internal code now uses InternalDistinctBag instead of DistinctDataBag. Will take some more time to review the difference between both to see if anything else is needed before committing the patch. > 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, PIG-5357-2.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)