Removed absolute paths

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

Branch: refs/heads/TAJO-1730
Commit: 6a50c5f42fdf3ad791c57227f8201da8d902d7e8
Parents: d49449a
Author: Hyunsik Choi <[email protected]>
Authored: Sun Aug 16 14:38:05 2015 +0900
Committer: Hyunsik Choi <[email protected]>
Committed: Sun Aug 16 14:38:05 2015 +0900

----------------------------------------------------------------------
 .../org/apache/tajo/engine/query/TestJoinQuery.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/6a50c5f4/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java
----------------------------------------------------------------------
diff --git 
a/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java 
b/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java
index 2fddbfa..c3d928e 100644
--- 
a/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java
+++ 
b/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java
@@ -245,12 +245,12 @@ public class TestJoinQuery extends QueryTestCaseBase {
     TableMeta tableMeta = table.getMeta();
     Schema schema = table.getLogicalSchema();
 
-    File file = new File("src/test/tpch/" + tableName + ".tbl");
-
-    if (!file.exists()) {
-      file = new File(System.getProperty("user.dir") + 
"/tajo-core/src/test/tpch/" + tableName + ".tbl");
-    }
-    String[] rows = FileUtil.readTextFile(file).split("\n");
+//    File file = new File("src/test/tpch/" + tableName + ".tbl");
+//
+//    if (!file.exists()) {
+//      file = new File(System.getProperty("user.dir") + 
"/tajo-core/src/test/tpch/" + tableName + ".tbl");
+//    }
+    String[] rows = FileUtil.readTextFileFromResource("tpch/" + tableName + 
".tbl").split("\n");
 
     assertTrue(rows.length > 0);
 

Reply via email to