pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r691354 - /incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java
Date Tue, 02 Sep 2008 19:55:19 GMT
Author: gates
Date: Tue Sep  2 12:55:19 2008
New Revision: 691354

URL: http://svn.apache.org/viewvc?rev=691354&view=rev
Log:
PIG-328 Fixed TestFilterOpNumeric.


Modified:
    incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java

Modified: incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java
URL: http://svn.apache.org/viewvc/incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java?rev=691354&r1=691353&r2=691354&view=diff
==============================================================================
--- incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java (original)
+++ incubator/pig/branches/types/test/org/apache/pig/test/TestFilterOpNumeric.java Tue Sep
 2 12:55:19 2008
@@ -172,7 +172,7 @@
         }
         ps.close();
         pig.registerQuery("A=load 'file:" + tmpFile + "';");
-        String query = "A = foreach A generate ($0 < 10?($1 >= 5 ? '2': '1') : '0');";
+        String query = "A = foreach A generate ($0 < 10?($1 >= 5 ? 2: 1) : 0);";
         log.info(query);
         pig.registerQuery(query);
         Iterator it = pig.openIterator("A");



Mime
View raw message