drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [6/6] drill git commit: DRILL-2896: Fix TestComplexTypeReader.testRepeatedJson
Date Wed, 29 Apr 2015 07:30:54 GMT
DRILL-2896: Fix TestComplexTypeReader.testRepeatedJson


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

Branch: refs/heads/master
Commit: c7cb36c8b45613bab299dfe6cafb36d4d2e00add
Parents: 00d0510
Author: vkorukanti <venki.korukanti@gmail.com>
Authored: Tue Apr 28 21:05:48 2015 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Wed Apr 29 00:29:03 2015 -0700

----------------------------------------------------------------------
 .../drill/exec/vector/complex/writer/TestComplexTypeReader.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/c7cb36c8/exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestComplexTypeReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestComplexTypeReader.java
b/exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestComplexTypeReader.java
index 894236e..521a41d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestComplexTypeReader.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestComplexTypeReader.java
@@ -225,12 +225,11 @@ public class TestComplexTypeReader extends BaseTestQuery{
   @Test //DRILL-2872.
   public void testRepeatedJson() throws Exception {
 
-    final String query="select cast(convert_to(interests, 'JSON') as varchar(0)) as interests
from dfs.`/Users/pchandra/work/data/test/complex_student.json`";
-
+    final String query="select cast(convert_to(interests, 'JSON') as varchar(0)) as interests
from cp.`complex_student.json`";
     testBuilder()
             .sqlQuery(query)
             .unOrdered()
-            .jsonBaselineFile("drill-2872-result.json")
+            .jsonBaselineFile("DRILL-2872-result.json")
             .go();
   }
 


Mime
View raw message