[ 
https://issues.apache.org/jira/browse/PIG-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai resolved PIG-1695.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Patch committed to both trunk and 0.8 branch. Future improvement is possible as 
per Thejas's comment. 

> MergeForEach does not carry user defined schema if any one of the merged 
> ForEach has user defined schema
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1695
>                 URL: https://issues.apache.org/jira/browse/PIG-1695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.8.0
>
>         Attachments: PIG-1695-1.patch
>
>
> The following script missing the column name i after merge.
> {code}
> a = load 'num.txt' as (i);
> b = foreach a generate (int)i;
> c = foreach b generate i + 60 as i;
> store c into 'sectest';
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to