()
| 737 | } |
| 738 | |
| 739 | @Test |
| 740 | public void testSim8() throws Exception { |
| 741 | PhysicalPlan php = new PhysicalPlan(); |
| 742 | |
| 743 | PhysicalPlan ldGrpChain1 = GenPhyOp.loadedGrpChain(); |
| 744 | PhysicalPlan ldGrpChain2 = GenPhyOp.loadedGrpChain(); |
| 745 | |
| 746 | POLocalRearrange lr1 = GenPhyOp.topLocalRearrangeOp(); |
| 747 | POLocalRearrange lr2 = GenPhyOp.topLocalRearrangeOp(); |
| 748 | |
| 749 | ldGrpChain1.addAsLeaf(lr1); |
| 750 | ldGrpChain2.addAsLeaf(lr2); |
| 751 | |
| 752 | php.merge(ldGrpChain1); |
| 753 | php.merge(ldGrpChain2); |
| 754 | |
| 755 | POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp(); |
| 756 | php.addAsLeaf(gr); |
| 757 | |
| 758 | PhysicalPlan ldFil1 = GenPhyOp.loadedFilter(); |
| 759 | PhysicalPlan ldFil2 = GenPhyOp.loadedFilter(); |
| 760 | |
| 761 | php.merge(ldFil1); |
| 762 | php.connect(ldFil1.getLeaves().get(0), gr); |
| 763 | |
| 764 | php.merge(ldFil2); |
| 765 | php.connect(ldFil2.getLeaves().get(0), gr); |
| 766 | |
| 767 | POPackage pk = GenPhyOp.topPackageOp(); |
| 768 | php.addAsLeaf(pk); |
| 769 | |
| 770 | POStore st = GenPhyOp.topStoreOp(); |
| 771 | php.addAsLeaf(st); |
| 772 | run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC8.gld"); |
| 773 | } |
| 774 | |
| 775 | @Test |
| 776 | public void testSim9() throws Exception { |
nothing calls this directly
no test coverage detected