You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Hien Luu (JIRA)" <ji...@apache.org> on 2012/06/04 01:13:23 UTC
[jira] [Updated] (PIG-2166) UDFs to join a bag
[ https://issues.apache.org/jira/browse/PIG-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hien Luu updated PIG-2166:
--------------------------
Attachment: PIG-2166.diff
Added support for default delimiter in BagToString UDF and more tests using embedded PigServer.
> 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
> Attachments: PIG-2166.diff, bagtotuplestring.diff
>
>
> 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