multiquery having native mapreduce and order-by fails -----------------------------------------------------
Key: PIG-2297 URL: https://issues.apache.org/jira/browse/PIG-2297 Project: Pig Issue Type: Bug Affects Versions: 0.10 Reporter: Thejas M Nair Seen in trunk. Haven't checked with earlier versions. {code} A = load 'n3.txt'; B = mapreduce 'trunk/test/org/apache/pig/test/data/TestWordCount.jar' Store A into 'table_testNativeMRJobSimple_input' Load 'table_testNativeMRJobSimple_output' `org.apache.pig.test.utils.WordCount -Dmapred.child.java.opts='-Xmx1536m -Xms128m' table_testNativeMRJobSimple_input table_testNativeMRJobSimple_output` ; Store B into 'table_testNativeMRJobSimpleDir'; E = order A by $0; store E into 'Eout' {code} Fails with {code} java.lang.ClassCastException: org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach cannot be cast to org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POPac kage at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:573) {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira