You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (JIRA)" <ji...@apache.org> on 2013/01/17 20:54:13 UTC

[jira] [Commented] (PIG-3078) Make a UDF that, given a string, returns just the columns prefixed by that string

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

Jonathan Coveney commented on PIG-3078:
---------------------------------------

Bump
                
> Make a UDF that, given a string, returns just the columns prefixed by that string
> ---------------------------------------------------------------------------------
>
>                 Key: PIG-3078
>                 URL: https://issues.apache.org/jira/browse/PIG-3078
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jonathan Coveney
>            Assignee: Jonathan Coveney
>             Fix For: 0.12
>
>         Attachments: PIG-3078-0.patch, PIG-3078-1.patch
>
>
> This comes up fairly often, usually as the result of a join. Given that the resulting schema has the column name prepended, a udf in the following form could give just the columns from the desired relation:
> Pluck('relation_name', *)

--
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