pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1703663 - /pig/trunk/test/org/apache/pig/test/TestBuiltin.java
Date Thu, 17 Sep 2015 18:17:42 GMT
Author: daijy
Date: Thu Sep 17 18:17:42 2015
New Revision: 1703663

URL: http://svn.apache.org/viewvc?rev=1703663&view=rev
Log:
PIG-4674: TOMAP should infer schema (Fix test failure)

Modified:
    pig/trunk/test/org/apache/pig/test/TestBuiltin.java

Modified: pig/trunk/test/org/apache/pig/test/TestBuiltin.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestBuiltin.java?rev=1703663&r1=1703662&r2=1703663&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestBuiltin.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestBuiltin.java Thu Sep 17 18:17:42 2015
@@ -3215,11 +3215,11 @@ public class TestBuiltin {
         pigServer.registerQuery("B = foreach A generate [a0,a3];");
         s = pigServer.dumpSchema("B");
         Assert.assertEquals(s.toString(), "{map[]}");
-        pigServer.registerQuery("A = load '1.txt' as (a:{(a0:chararray, a1:int)};");
+        pigServer.registerQuery("A = load '1.txt' as (a:{(a0:chararray, a1:int)});");
         pigServer.registerQuery("B = foreach A generate TOMAP(a);");
         s = pigServer.dumpSchema("B");
         Assert.assertEquals(s.toString(), "{map[int]}");
-        pigServer.registerQuery("A = load '1.txt' as (a:{(a0, a1, a2, a3:int)};");
+        pigServer.registerQuery("A = load '1.txt' as (a:{(a0, a1, a2, a3:int)});");
         pigServer.registerQuery("B = foreach A generate TOMAP(a);");
         s = pigServer.dumpSchema("B");
         Assert.assertEquals(s.toString(), "{map[]}");



Mime
View raw message