incorrect schema shown when project-star is used with other projections
-----------------------------------------------------------------------

                 Key: PIG-1910
                 URL: https://issues.apache.org/jira/browse/PIG-1910
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Thejas M Nair
             Fix For: 0.9.0


{code}
grunt> l = load 'x' ;                                       
grunt> f = foreach l generate $1 as a, *, $2 as b;          
grunt> describe f;
f: {a: bytearray,(null),b: bytearray}  -- The tuple returned by * is 
automatically flattened, so this schema is not correct. It is more accurate to 
return a null schema.

{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to