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