Anitha Raju created PIG-2802: -------------------------------- Summary: Wrong Schema generated when there is a dangling alias Key: PIG-2802 URL: https://issues.apache.org/jira/browse/PIG-2802 Project: Pig Issue Type: Bug Affects Versions: 0.10.0, 0.9.2 Reporter: Anitha Raju
Hi, Script {code} A = load 'test.txt' using PigStorage() AS (x:int,y:int, z:int) ; B = GROUP A BY x; C = foreach B generate A.x as s; describe C; -- C: {s: {(x: int)}} D = FOREACH B { E = ORDER A by y; GENERATE A.x as s; }; describe D; -- D: {x: int,y: int,z: int} {code} Here E is a dangling alias. Regards, Anitha -- 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