Update TestViewSupport so that it doesn't have a null column.

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

Branch: refs/heads/master
Commit: f1136ab94c8cf64218e7ad4952c5d0b2cf6c3434
Parents: 3529650
Author: Jacques Nadeau <jacq...@apache.org>
Authored: Sun Aug 24 12:02:30 2014 -0700
Committer: Jacques Nadeau <jacq...@apache.org>
Committed: Sun Aug 24 12:02:30 2014 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/drill/exec/sql/TestViewSupport.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/f1136ab9/exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java
----------------------------------------------------------------------
diff --git 
a/exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java 
b/exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java
index b745baa..bfd3f18 100644
--- 
a/exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java
+++ 
b/exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java
@@ -26,8 +26,8 @@ public class TestViewSupport extends BaseTestQuery{
   @Test
   public void referToSchemaInsideAndOutsideView() throws Exception {
     String use = "use dfs_test.tmp;";
-    String selectInto = "create table monkey as select c_custkey, c_regionkey 
from cp.`tpch/customer.parquet`";
-    String createView = "create or replace view myMonkeyView as select 
c_custkey, c_regionkey from monkey";
+    String selectInto = "create table monkey as select c_custkey, c_nationkey 
from cp.`tpch/customer.parquet`";
+    String createView = "create or replace view myMonkeyView as select 
c_custkey, c_nationkey from monkey";
     String selectInside = "select * from myMonkeyView;";
     String use2 = "use cp;";
     String selectOutside = "select * from dfs_test.tmp.myMonkeyView;";

Reply via email to