[
https://issues.apache.org/jira/browse/PIG-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627043#comment-13627043
]
Daniel Dai commented on PIG-3271:
---------------------------------
Ready to go with a testcase.
> POSplit ignoring error from input processing giving empty results
> ------------------------------------------------------------------
>
> Key: PIG-3271
> URL: https://issues.apache.org/jira/browse/PIG-3271
> Project: Pig
> Issue Type: Bug
> Reporter: Koji Noguchi
> Priority: Critical
> Attachments: pig-3271-v01.patch
>
>
> Script below fails at union onschema due to PIG-3270 but pig ignores its
> error and creates empty outputs with return code 0 (SUCCESS).
> {noformat}
> t1 = LOAD 'file1.txt' USING PigStorage() AS (a: chararray, b: chararray);
> t2 = LOAD 'file2.txt' USING PigStorage() AS (a: chararray, b: float);
> tout = UNION ONSCHEMA t1, t2;
> STORE tout INTO './out1' USING PigStorage();
> STORE tout INTO './out2' USING PigStorage();
> {noformat}
> Is POSplit ignoring the error from input processing?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira