Wrong alias assinged to store operator
--------------------------------------
Key: PIG-1962
URL: https://issues.apache.org/jira/browse/PIG-1962
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.9.0
Reporter: Richard Ding
Assignee: Daniel Dai
Fix For: 0.9.0
Given the script
{code}
A = load 'data' as (a0, a1);
B = filter A by a0 > 1;
store B into 'output';
{code}
Alias 'A' (instead of 'B') is assigned to the store operator:
{code}
Map Plan
A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) -
scope-11
|
|---A: New For Each(false,false)[bag] - scope-10
| |
| Project[bytearray][0] - scope-6
| |
| Project[bytearray][1] - scope-8
|
|---B: Filter[bag] - scope-1
| |
| Greater Than[boolean] - scope-5
| |
| |---Cast[int] - scope-3
| | |
| | |---Project[bytearray][0] - scope-2
| |
| |---Constant(1) - scope-4
|
|---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage)
- scope-0--------
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira