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

Method test8

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

Source from the content-addressed store, hash-verified

167 }
168
169 @Test
170 public void test8() throws IOException, RecognitionException {
171 String query = "a = load '/user/pig/tests/data/singlefile/studenttab10k';" +
172 "b = group a by $0;" +
173 "c = foreach b {c1 = order $1 by $1; generate flatten(c1), MAX($1.$1); };" +
174 "store c into '/user/pig/out/jianyong.1297305352/Order_17.out';";
175 shouldPass( query );
176 }
177
178 @Test(expected=RecognitionException.class)
179 public void testCubeNegative1() throws IOException, RecognitionException {

Callers

nothing calls this directly

Calls 1

shouldPassMethod · 0.95

Tested by

no test coverage detected