You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Pradeep Kamath (JIRA)" <ji...@apache.org> on 2008/09/18 23:50:44 UTC
[jira] Created: (PIG-438) Handle realiasing of existing Alias
(A=B;)
Handle realiasing of existing Alias (A=B;)
-------------------------------------------
Key: PIG-438
URL: https://issues.apache.org/jira/browse/PIG-438
Project: Pig
Issue Type: Bug
Affects Versions: types_branch
Reporter: Pradeep Kamath
Fix For: types_branch
We do not handle re-aliasing of an existing alias - this should be handled correctly.
The following script should work:
{code}
a = load 'studenttab10k';
b = filter a by $1 > '25';
c = b;
-- use b
d = cogroup b by $0, a by $0;
e = foreach d generate flatten(b), flatten(a);
dump e
-- use c
f = cogroup c by $0, a by $0;
g = foreach f generate flatten(c), flatten(a);
dump g;
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.