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

Method testUnion1WithNulls

test/org/apache/pig/test/TestLocal2.java:66–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

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