pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roh...@apache.org
Subject svn commit: r1843480 - in /pig/trunk: build.xml test/org/apache/pig/builtin/TestOrcStoragePushdown.java
Date Wed, 10 Oct 2018 17:33:16 GMT
Author: rohini
Date: Wed Oct 10 17:33:15 2018
New Revision: 1843480

URL: http://svn.apache.org/viewvc?rev=1843480&view=rev
Log:
Fix test failures for PIG-5317

Modified:
    pig/trunk/build.xml
    pig/trunk/test/org/apache/pig/builtin/TestOrcStoragePushdown.java

Modified: pig/trunk/build.xml
URL: http://svn.apache.org/viewvc/pig/trunk/build.xml?rev=1843480&r1=1843479&r2=1843480&view=diff
==============================================================================
--- pig/trunk/build.xml (original)
+++ pig/trunk/build.xml Wed Oct 10 17:33:15 2018
@@ -759,6 +759,7 @@
             <fileset dir="${ivy.lib.dir}" includes="hbase-hadoop2*.jar"/>
             <fileset dir="${ivy.lib.dir}" includes="tez-*.jar"/>
             <fileset dir="${ivy.lib.dir}" includes="commons-collections4-*.jar"/>
+            <fileset dir="${ivy.lib.dir}" includes="commons-lang3-*.jar"/>
         </copy>
         <copy file="${output.jarfile.core}" tofile="${output.jarfile.backcompat-core-h2}"/>
         <mkdir dir="${legacy.dir}" />

Modified: pig/trunk/test/org/apache/pig/builtin/TestOrcStoragePushdown.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/builtin/TestOrcStoragePushdown.java?rev=1843480&r1=1843479&r2=1843480&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/builtin/TestOrcStoragePushdown.java (original)
+++ pig/trunk/test/org/apache/pig/builtin/TestOrcStoragePushdown.java Wed Oct 10 17:33:15
2018
@@ -313,27 +313,27 @@ public class TestOrcStoragePushdown {
 
     @Test
     public void testPredicatePushdownBoolean() throws Exception {
-        testPredicatePushdown(INPUT, "f1 == true", 2500, 1200000);
+        testPredicatePushdown(INPUT, "f1 == true", 2500, 940000);
     }
 
     @Test
     public void testPredicatePushdownByteShort() throws Exception {
-        testPredicatePushdown(INPUT, "f2 != 5 or f3 == 100", 3500, 1200000);
+        testPredicatePushdown(INPUT, "f2 != 5 or f3 == 100", 3500, 940000);
     }
 
     @Test
     public void testPredicatePushdownIntLongString() throws Exception {
-        testPredicatePushdown(INPUT, "f4 >= 980 and f4 < 1010 and (f5 == 100 or f9
is not null)", 20, 1200000);
+        testPredicatePushdown(INPUT, "f4 >= 980 and f4 < 1010 and (f5 == 100 or f9
is not null)", 20, 940000);
     }
 
     @Test
     public void testPredicatePushdownFloatDouble() throws Exception {
-        testPredicatePushdown(INPUT, "f6 == 100.0 and f7 > 2000.00000001", 167, 1600000);
+        testPredicatePushdown(INPUT, "f6 == 100.0 and f7 > 2000.00000001", 167, 940000);
     }
 
     @Test
     public void testPredicatePushdownBigDecimal() throws Exception {
-        testPredicatePushdown(INPUT, "f11 < (bigdecimal)'1000000000';", 2500, 1600000);
+        testPredicatePushdown(INPUT, "f11 < (bigdecimal)'1000000000';", 2500, 940000);
     }
 
     @Test



Mime
View raw message