()
| 864 | } |
| 865 | |
| 866 | @Test |
| 867 | public void testDistinct1() throws Exception { |
| 868 | PhysicalPlan php = new PhysicalPlan(); |
| 869 | PhysicalPlan ldFil1 = GenPhyOp.loadedFilter(); |
| 870 | php.merge(ldFil1); |
| 871 | |
| 872 | PODistinct op = new PODistinct(new OperatorKey("", r.nextLong()), |
| 873 | -1, null); |
| 874 | |
| 875 | php.addAsLeaf(op); |
| 876 | |
| 877 | PhysicalPlan grpChain1 = GenPhyOp.grpChain(); |
| 878 | php.merge(grpChain1); |
| 879 | php.connect(op,grpChain1.getRoots().get(0)); |
| 880 | |
| 881 | PODistinct op1 = new PODistinct(new OperatorKey("", r.nextLong()), |
| 882 | -1, null); |
| 883 | |
| 884 | php.addAsLeaf(op1); |
| 885 | POStore st = GenPhyOp.topStoreOp(); |
| 886 | php.addAsLeaf(st); |
| 887 | run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC16.gld"); |
| 888 | } |
| 889 | |
| 890 | @Test |
| 891 | public void testLimit() throws Exception { |
nothing calls this directly
no test coverage detected