Column Pruner issues in union of loader with and without schema
---------------------------------------------------------------
Key: PIG-1176
URL: https://issues.apache.org/jira/browse/PIG-1176
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.6.0
Reporter: Daniel Dai
Assignee: Daniel Dai
Fix For: 0.7.0
Column pruner for union could fail if one source of union have the schema and
the other does not have schema. For example, the following script fail:
{code}
a = load '1.txt' as (a0, a1, a2);
b = foreach a generate a0;
c = load '2.txt';
d = foreach c generate $0;
e = union b, d;
dump e;
{code}
However, this issue is in trunk only and is not applicable to 0.6 branch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.