MCPcopy Create free account
hub / github.com/apache/pig / testUnion1WithNulls

Method testUnion1WithNulls

test/org/apache/pig/test/TestMapReduce2.java:64–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 6

genDataSetFileMethod · 0.95
generateURIMethod · 0.95
verifyUnionMethod · 0.95
registerQueryMethod · 0.45
toStringMethod · 0.45
getPigContextMethod · 0.45

Tested by

no test coverage detected