MCPcopy Create free account
hub / github.com/apache/pig / testSim9

Method testSim9

test/org/apache/pig/test/TestMRCompiler.java:775–797  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

773 }
774
775 @Test
776 public void testSim9() throws Exception {
777 PhysicalPlan php = new PhysicalPlan();
778
779 POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp();
780 php.addAsLeaf(gr);
781
782 PhysicalPlan ldFil1 = GenPhyOp.loadedFilter();
783 PhysicalPlan ldFil2 = GenPhyOp.loadedFilter();
784
785 php.merge(ldFil1);
786 php.connect(ldFil1.getLeaves().get(0), gr);
787
788 php.merge(ldFil2);
789 php.connect(ldFil2.getLeaves().get(0), gr);
790
791 POPackage pk = GenPhyOp.topPackageOp();
792 php.addAsLeaf(pk);
793
794 POStore st = GenPhyOp.topStoreOp();
795 php.addAsLeaf(st);
796 run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC9.gld");
797 }
798
799 @Test
800 public void testSortUDF1() throws Exception {

Callers

nothing calls this directly

Calls 10

topGlobalRearrangeOpMethod · 0.95
loadedFilterMethod · 0.95
connectMethod · 0.95
topPackageOpMethod · 0.95
topStoreOpMethod · 0.95
runMethod · 0.95
addAsLeafMethod · 0.80
getMethod · 0.65
mergeMethod · 0.45
getLeavesMethod · 0.45

Tested by

no test coverage detected