()
| 64 | } |
| 65 | |
| 66 | @Test |
| 67 | public void testUnion1WithNulls() throws Exception { |
| 68 | |
| 69 | File tmpFile1 = genDataSetFile(true, 30 ) ; |
| 70 | File tmpFile2 = genDataSetFile(true, 50 ) ; |
| 71 | pig.registerQuery("a = load '" |
| 72 | + Util.generateURI(tmpFile1.toString(), pig.getPigContext()) |
| 73 | + "'; "); |
| 74 | pig.registerQuery("b = load '" |
| 75 | + Util.generateURI(tmpFile2.toString(), pig.getPigContext()) |
| 76 | + "'; "); |
| 77 | pig.registerQuery("c = union a, b; ") ; |
| 78 | |
| 79 | verifyUnion( "c", 30 + 50 ); |
| 80 | } |
| 81 | |
| 82 | @Test |
| 83 | public void testUnion2() throws Exception { |
nothing calls this directly
no test coverage detected