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

Method testSim2

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

Source from the content-addressed store, hash-verified

585 }
586
587 @Test
588 public void testSim2() throws Exception {
589 PhysicalPlan php = new PhysicalPlan();
590
591 PhysicalPlan ldGrpChain1 = GenPhyOp.loadedGrpChain();
592 PhysicalPlan ldGrpChain2 = GenPhyOp.loadedGrpChain();
593
594 php.merge(ldGrpChain1);
595 php.merge(ldGrpChain2);
596
597 POUnion un = GenPhyOp.topUnionOp();
598 php.addAsLeaf(un);
599
600 POStore st = GenPhyOp.topStoreOp();
601 php.add(st);
602
603 php.connect(un, st);
604 run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC2.gld");
605 }
606
607 @Test
608 public void testSim3() throws Exception {

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected