()
| 705 | } |
| 706 | |
| 707 | @Test |
| 708 | public void testSim7() throws Exception { |
| 709 | PhysicalPlan php = new PhysicalPlan(); |
| 710 | |
| 711 | PhysicalPlan ldGrpChain1 = GenPhyOp.loadedGrpChain(); |
| 712 | PhysicalPlan ldGrpChain2 = GenPhyOp.loadedGrpChain(); |
| 713 | |
| 714 | POLocalRearrange lr1 = GenPhyOp.topLocalRearrangeOp(); |
| 715 | POLocalRearrange lr2 = GenPhyOp.topLocalRearrangeOp(); |
| 716 | |
| 717 | ldGrpChain1.addAsLeaf(lr1); |
| 718 | ldGrpChain2.addAsLeaf(lr2); |
| 719 | |
| 720 | php.merge(ldGrpChain1); |
| 721 | php.merge(ldGrpChain2); |
| 722 | |
| 723 | POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp(); |
| 724 | php.addAsLeaf(gr); |
| 725 | |
| 726 | PhysicalPlan ldFil1 = GenPhyOp.loadedFilter(); |
| 727 | |
| 728 | php.merge(ldFil1); |
| 729 | php.connect(ldFil1.getLeaves().get(0), gr); |
| 730 | |
| 731 | POPackage pk = GenPhyOp.topPackageOp(); |
| 732 | php.addAsLeaf(pk); |
| 733 | |
| 734 | POStore st = GenPhyOp.topStoreOp(); |
| 735 | php.addAsLeaf(st); |
| 736 | run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC7.gld"); |
| 737 | } |
| 738 | |
| 739 | @Test |
| 740 | public void testSim8() throws Exception { |
nothing calls this directly
no test coverage detected