[
https://issues.apache.org/jira/browse/PIG-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi updated PIG-3271:
------------------------------
Attachment: pig-3271-v02.patch
bq. Ready to go with a testcase.
I'm lost in this.
Original example pasted on the jira failed due to PIG-3270 and should be fixed
thus cannot be used for the testcase for this PIG-3271.
Just to show how lost I am, created a test case that connects couple of
operators to force the input processing to fail. (I need a testcase that
doesn't throw an exception but returns POStatus.STATUS_ERR.)
> 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, pig-3271-v02.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