[ https://issues.apache.org/jira/browse/PIG-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-3271. ----------------------------- Resolution: Fixed Fix Version/s: 0.12 Assignee: Koji Noguchi Hadoop Flags: Reviewed I am fine with the testcase. Patch committed to trunk. Thanks Koji! > 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 > Assignee: Koji Noguchi > Priority: Critical > Fix For: 0.12 > > 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