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

Dmitriy V. Ryaboy commented on PIG-2268:
----------------------------------------

Looks like PIG-2427 fixed it:


grunt> a = load '/etc/hosts' as (bag: {mytuple: (f1:int)});
grunt> describe a
a: {bag: {mytuple: (f1: int)}}

                
> Parser gobbles up the name of tuple in the bag
> ----------------------------------------------
>
>                 Key: PIG-2268
>                 URL: https://issues.apache.org/jira/browse/PIG-2268
>             Project: Pig
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>
> {code}
> grunt> a = load 'a' as (bag: {mytuple: (f1:int)});
> grunt> describe a;
> a: {bag: {(f1: int)}}
> {code}
> Notice 'mytuple' is not there in describe. 
> Same case is true even for getSchema() function of StoreFunc interface. There 
> also name is missing. Fix for this issue should contain test case for that 
> also.

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

        

Reply via email to