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

Koji Noguchi resolved PIG-5341.
-------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 0.17.1

Thanks for the review Adam!!! 
Committed to 0.17 branch and trunk.

> PigStorage with -tagFile/-tagPath produces incorrect results with column 
> pruning
> --------------------------------------------------------------------------------
>
>                 Key: PIG-5341
>                 URL: https://issues.apache.org/jira/browse/PIG-5341
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Critical
>             Fix For: 0.17.1
>
>         Attachments: pig-5341-v01.patch
>
>
> I don't know why we didn't see this till now.
> {code}
> A = load 'test.txt' using PigStorage('\t', '-tagFile') as 
> (filename:chararray, a0:int, a1:int, a2:int, a3:int);
> B = FOREACH A GENERATE a0,a2;
> dump B;
> {code}
> Input 
> {noformat}
> knoguchi@pig > cat  test.txt
> 0       1       2       3
> 0       1       2       3
> 0       1       2       3
> {noformat}
> Expected Results
> {noformat}
> (0,2)
> (0,2)
> (0,2)
> {noformat}
> Actual Results
> {noformat}
> (,1)
> (,1)
> (,1)
> {noformat}
> This is really bad...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to