drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [04/10] drill git commit: DRILL-1185: Unit test for delimited text failing in classpath storage plugin.
Date Sat, 29 Nov 2014 19:16:16 GMT
DRILL-1185: Unit test for delimited text failing in classpath storage plugin.


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

Branch: refs/heads/master
Commit: 1944b434d7f2ac047d5ca188f14a784da37ce8c6
Parents: daaa0c3
Author: Jason Altekruse <altekrusejason@gmail.com>
Authored: Mon Nov 24 22:30:53 2014 -0800
Committer: Jason Altekruse <altekrusejason@gmail.com>
Committed: Fri Nov 28 22:28:24 2014 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/drill/TestExampleQueries.java      | 5 +++++
 .../test/resources/store/text/classpath_storage_csv_test.csv    | 5 +++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/1944b434/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 6c13dba..29495ad 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
@@ -36,6 +36,11 @@ public class TestExampleQueries extends BaseTestQuery{
   }
 
   @Test
+  public void testTextInClasspathStorage() throws Exception {
+    test("select * from cp.`/store/text/classpath_storage_csv_test.csv`");
+  }
+
+  @Test
   public void testParquetComplex() throws Exception {
     test("select recipe from cp.`parquet/complex.parquet`");
     test("select * from cp.`parquet/complex.parquet`");

http://git-wip-us.apache.org/repos/asf/drill/blob/1944b434/exec/java-exec/src/test/resources/store/text/classpath_storage_csv_test.csv
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/resources/store/text/classpath_storage_csv_test.csv b/exec/java-exec/src/test/resources/store/text/classpath_storage_csv_test.csv
new file mode 100644
index 0000000..c0f0883
--- /dev/null
+++ b/exec/java-exec/src/test/resources/store/text/classpath_storage_csv_test.csv
@@ -0,0 +1,5 @@
+1,a,s
+2,b,str
+3,c,string
+4,d,long string
+5,e,longer string
\ No newline at end of file


Mime
View raw message