[
https://issues.apache.org/jira/browse/PIG-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281714#comment-13281714
]
Gianmarco De Francisci Morales commented on PIG-2166:
-----------------------------------------------------
I think we need at least 2 delimiters, one for bag elements (which are tuples)
and one for tuple elements (which are anything), but I am not sure it is worth
supporting nested structures in the tuples.
> UDFs to join a bag
> ------------------
>
> Key: PIG-2166
> URL: https://issues.apache.org/jira/browse/PIG-2166
> Project: Pig
> Issue Type: Improvement
> Reporter: Daniel Dai
> Assignee: Hien Luu
> Priority: Minor
> Labels: newbie, simple
>
> Get several request for a UDF to flatten a bag. Seems reasonable to create
> one in builtin:
> 1. BagToTuple: {(a),(b),(c)} -> (a,b,c)
> 2. BagToString(delimit="_"): {(a),(b),(c) -> "a_b_c"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira