()
| 290 | } |
| 291 | |
| 292 | @Test |
| 293 | public void testFlatten() throws IOException, RecognitionException { |
| 294 | String query = "a = load '1.txt' as ( u, v, w : int );" + |
| 295 | "b = foreach a generate * as ( x, y, z ), flatten( u ) as ( r, s ), flatten( v ) as d, w + 5 as e:int;"; |
| 296 | int errorCount = parse( query ); |
| 297 | Assert.assertTrue( errorCount == 0 ); |
| 298 | } |
| 299 | |
| 300 | @Test //PIG-2083 |
| 301 | public void testNullInBinCondNoSpace() throws IOException{ |