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

Method test3

test/org/apache/pig/parser/TestQueryParser.java:127–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 @Test
128 public void test3() throws IOException, RecognitionException {
129 String query = "a = load '1.txt' as (a0);" +
130 "b = foreach a generate flatten( (bag{tuple(map[])})a0 ) as b0:map[];" +
131 "c = foreach b generate (long)b0#'key1';";
132 shouldPass( query );
133 }
134
135 @Test
136 public void test4() throws IOException, RecognitionException {

Callers

nothing calls this directly

Calls 1

shouldPassMethod · 0.95

Tested by

no test coverage detected