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

Method testSim6

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

Source from the content-addressed store, hash-verified

677 }
678
679 @Test
680 public void testSim6() throws Exception {
681 PhysicalPlan php = new PhysicalPlan();
682
683 PhysicalPlan ldGrpChain1 = GenPhyOp.loadedGrpChain();
684 PhysicalPlan ldGrpChain2 = GenPhyOp.loadedGrpChain();
685
686 POLocalRearrange lr1 = GenPhyOp.topLocalRearrangeOp();
687 POLocalRearrange lr2 = GenPhyOp.topLocalRearrangeOp();
688
689 ldGrpChain1.addAsLeaf(lr1);
690 ldGrpChain2.addAsLeaf(lr2);
691
692 php.merge(ldGrpChain1);
693 php.merge(ldGrpChain2);
694
695 POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp();
696 php.addAsLeaf(gr);
697
698 POPackage pk = GenPhyOp.topPackageOp();
699 php.addAsLeaf(pk);
700
701 POStore st = GenPhyOp.topStoreOp();
702 php.addAsLeaf(st);
703 run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC6.gld");
704
705 }
706
707 @Test
708 public void testSim7() throws Exception {

Callers

nothing calls this directly

Calls 8

loadedGrpChainMethod · 0.95
topLocalRearrangeOpMethod · 0.95
topGlobalRearrangeOpMethod · 0.95
topPackageOpMethod · 0.95
topStoreOpMethod · 0.95
runMethod · 0.95
addAsLeafMethod · 0.80
mergeMethod · 0.45

Tested by

no test coverage detected