()
| 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 { |
nothing calls this directly
no test coverage detected