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

Method testSim3

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

Source from the content-addressed store, hash-verified

605 }
606
607 @Test
608 public void testSim3() throws Exception {
609 PhysicalPlan php = new PhysicalPlan();
610
611 PhysicalPlan ldGrpChain1 = GenPhyOp.loadedGrpChain();
612 PhysicalPlan ldGrpChain2 = GenPhyOp.loadedGrpChain();
613
614 php.merge(ldGrpChain1);
615 php.merge(ldGrpChain2);
616
617 POUnion un = GenPhyOp.topUnionOp();
618 php.addAsLeaf(un);
619
620 PhysicalPlan ldFil1 = GenPhyOp.loadedFilter();
621
622 php.merge(ldFil1);
623 php.connect(ldFil1.getLeaves().get(0), un);
624
625 POStore st = GenPhyOp.topStoreOp();
626 php.add(st);
627
628 php.connect(un, st);
629 run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC3.gld");
630 }
631
632 @Test
633 public void testSim4() throws Exception {

Callers

nothing calls this directly

Calls 11

loadedGrpChainMethod · 0.95
topUnionOpMethod · 0.95
loadedFilterMethod · 0.95
connectMethod · 0.95
topStoreOpMethod · 0.95
runMethod · 0.95
addAsLeafMethod · 0.80
getMethod · 0.65
addMethod · 0.65
mergeMethod · 0.45
getLeavesMethod · 0.45

Tested by

no test coverage detected