()
| 49 | |
| 50 | |
| 51 | @Test |
| 52 | public void testUnion1() throws Exception { |
| 53 | File tmpFile1 = genDataSetFile(false, 30 ) ; |
| 54 | File tmpFile2 = genDataSetFile(false, 50 ) ; |
| 55 | pig.registerQuery("a = load '" |
| 56 | + Util.generateURI(tmpFile1.toString(), pig.getPigContext()) |
| 57 | + "'; "); |
| 58 | pig.registerQuery("b = load '" |
| 59 | + Util.generateURI(tmpFile2.toString(), pig.getPigContext()) |
| 60 | + "'; "); |
| 61 | pig.registerQuery("c = union a, b; ") ; |
| 62 | |
| 63 | verifyUnion( "c", 30 + 50 ); |
| 64 | } |
| 65 | |
| 66 | @Test |
| 67 | public void testUnion1WithNulls() throws Exception { |
nothing calls this directly
no test coverage detected