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

Method testFlatten

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

Source from the content-addressed store, hash-verified

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{

Callers

nothing calls this directly

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected