You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by me...@apache.org on 2014/11/11 00:15:07 UTC

[2/2] incubator-drill git commit: DRILL-1631: Bump optiq version to r8 Add test case. Fix is in optiq.

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 <me...@gmail.com>
Authored: Thu Nov 6 11:28:27 2014 -0800
Committer: Mehant Baid <me...@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>