()
| 386 | } |
| 387 | |
| 388 | @Test |
| 389 | public void testSpl1() throws Exception { |
| 390 | PhysicalPlan php = new PhysicalPlan(); |
| 391 | |
| 392 | POLoad lA = GenPhyOp.topLoadOp(); |
| 393 | POSplit spl = GenPhyOp.topSplitOp(); |
| 394 | php.add(lA); |
| 395 | php.add(spl); |
| 396 | php.connect(lA, spl); |
| 397 | |
| 398 | POFilter fl1 = GenPhyOp.topFilterOp(); |
| 399 | POFilter fl2 = GenPhyOp.topFilterOp(); |
| 400 | php.add(fl1); |
| 401 | php.add(fl2); |
| 402 | php.connect(spl, fl1); |
| 403 | php.connect(spl, fl2); |
| 404 | |
| 405 | POLocalRearrange lr1 = GenPhyOp.topLocalRearrangeOp(); |
| 406 | POLocalRearrange lr2 = GenPhyOp.topLocalRearrangeOp(); |
| 407 | php.add(lr1); |
| 408 | php.add(lr2); |
| 409 | php.connect(fl1, lr1); |
| 410 | php.connect(fl2, lr2); |
| 411 | |
| 412 | POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp(); |
| 413 | php.add(gr); |
| 414 | php.connect(lr1, gr); |
| 415 | php.connect(lr2, gr); |
| 416 | |
| 417 | POPackage pk = GenPhyOp.topPackageOp(); |
| 418 | php.add(pk); |
| 419 | php.connect(gr, pk); |
| 420 | |
| 421 | POStore st = GenPhyOp.topStoreOp(); |
| 422 | php.add(st); |
| 423 | php.connect(pk, st); |
| 424 | run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC12.gld"); |
| 425 | |
| 426 | } |
| 427 | |
| 428 | @Test |
| 429 | public void testSpl2() throws Exception { |
nothing calls this directly
no test coverage detected