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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to