()
| 426 | } |
| 427 | |
| 428 | @Test |
| 429 | public void testSpl2() throws Exception { |
| 430 | PhysicalPlan php = new PhysicalPlan(); |
| 431 | |
| 432 | POLoad lA = GenPhyOp.topLoadOp(); |
| 433 | POSplit spl = GenPhyOp.topSplitOp(); |
| 434 | php.add(lA); |
| 435 | php.add(spl); |
| 436 | php.connect(lA, spl); |
| 437 | |
| 438 | POFilter fl1 = GenPhyOp.topFilterOp(); |
| 439 | POFilter fl2 = GenPhyOp.topFilterOp(); |
| 440 | php.add(fl1); |
| 441 | php.add(fl2); |
| 442 | php.connect(spl, fl1); |
| 443 | php.connect(spl, fl2); |
| 444 | |
| 445 | POLocalRearrange lr1 = GenPhyOp.topLocalRearrangeOp(); |
| 446 | POLocalRearrange lr2 = GenPhyOp.topLocalRearrangeOp(); |
| 447 | php.add(lr1); |
| 448 | php.add(lr2); |
| 449 | php.connect(fl1, lr1); |
| 450 | php.connect(fl2, lr2); |
| 451 | |
| 452 | POGlobalRearrange gr = GenPhyOp.topGlobalRearrangeOp(); |
| 453 | php.addAsLeaf(gr); |
| 454 | |
| 455 | POPackage pk = GenPhyOp.topPackageOp(); |
| 456 | php.addAsLeaf(pk); |
| 457 | |
| 458 | POSplit sp2 = GenPhyOp.topSplitOp(); |
| 459 | php.addAsLeaf(sp2); |
| 460 | |
| 461 | POFilter fl3 = GenPhyOp.topFilterOp(); |
| 462 | POFilter fl4 = GenPhyOp.topFilterOp(); |
| 463 | php.add(fl3); |
| 464 | php.add(fl4); |
| 465 | php.connect(sp2, fl3); |
| 466 | php.connect(sp2, fl4); |
| 467 | |
| 468 | POUnion un = GenPhyOp.topUnionOp(); |
| 469 | php.addAsLeaf(un); |
| 470 | |
| 471 | POStore st = GenPhyOp.topStoreOp(); |
| 472 | php.addAsLeaf(st); |
| 473 | run(php, "test/org/apache/pig/test/data/GoldenFiles/MRC13.gld"); |
| 474 | } |
| 475 | |
| 476 | @Test |
| 477 | public void testSpl3() throws Exception { |
nothing calls this directly
no test coverage detected