drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meh...@apache.org
Subject [2/2] incubator-drill git commit: DRILL-1631: Bump optiq version to r8 Add test case. Fix is in optiq.
Date Mon, 10 Nov 2014 23:15:07 GMT
DRILL-1631: Bump optiq version to r8
Add test case. Fix is in optiq.


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/d5b9b11c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/d5b9b11c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/d5b9b11c

Branch: refs/heads/master
Commit: d5b9b11c9a2337ac1f9c16784c2ae87ead7d1fd9
Parents: 3430f81
Author: Mehant Baid <mehantr@gmail.com>
Authored: Thu Nov 6 11:28:27 2014 -0800
Committer: Mehant Baid <mehantr@gmail.com>
Committed: Mon Nov 10 14:02:59 2014 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/drill/TestExampleQueries.java    | 7 +++++++
 pom.xml                                                       | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/d5b9b11c/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java b/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java
index 9eaa20e..a328ade 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java
@@ -530,4 +530,11 @@ public class TestExampleQueries extends BaseTestQuery{
         expectedRecordCount, actualRecordCount), expectedRecordCount, actualRecordCount);
   }
 
+  @Test
+  public void testImplicitDownwardCast() throws Exception {
+    int actualRecordCount = testSql("select o_totalprice from cp.`tpch/orders.parquet` where
o_orderkey=60000 and o_totalprice=299402");
+    int expectedRecordCount = 0;
+    assertEquals(String.format("Received unexepcted number of rows in output: expected=%d,
received=%s",
+        expectedRecordCount, actualRecordCount), expectedRecordCount, actualRecordCount);
+  }
 }

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/d5b9b11c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 25ca6a2..26189fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -902,7 +902,7 @@
           <dependency>
             <groupId>net.hydromatic</groupId>
             <artifactId>optiq-core</artifactId>
-            <version>0.9-drill-r6</version>
+            <version>0.9-drill-r8</version>
             <exclusions>
               <exclusion>
                 <groupId>org.jgrapht</groupId>


Mime
View raw message