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

Adam Szita commented on PIG-5110:
---------------------------------

[~knoguchi], the latter. So for instance, given relation A and B, both with lot 
of fields a0,a1,a2... and b0,b1,b2... respectively, right now we would get a 
schema like this after JOIN:
A::a0, A::a1, A::a2 ... B::b0, B::b1, ...

Instead of this, we could add a feature to turn off the A:: and B:: prepending 
of field aliases, and expect a result having a schema like:
a0,a1,a2... and b0,b1,b2 ...  (that is if there are no multiple fields with 
same names)


> Removing schema alias and :: coming from parent relation
> --------------------------------------------------------
>
>                 Key: PIG-5110
>                 URL: https://issues.apache.org/jira/browse/PIG-5110
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>
> Customers have asked for a feature to get rid of the schema alias prefixes. 
> CROSS, JOIN, FLATTEN, etc.. prepend the field name with the parent field 
> alias and ::
> I would like to find a way to disable this feature. (The burden of making 
> sure not to have duplicate aliases - and hence the appropriate 
> FrontendException getting thrown - is on the user)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to