Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojialin committed Dec 29, 2017
1 parent 8445b08 commit fbd64ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ public TSDataType getSeriesType(Path path) {
public boolean judgePathExists(Path path) {
if (SQLConstant.isReservedPath(path))
return true;
return queryEngine.pathExist(path);
try {
return queryEngine.pathExist(path);
} catch (IOException e) {
e.printStackTrace();
}
return false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cn.edu.tsinghua.iotdb.qp.utils;


import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

Expand Down Expand Up @@ -62,7 +63,7 @@ public void testQueryWithoutFilter() throws ProcessorException {
}

@Test
public void testQueryWithFilter1() throws ProcessorException {
public void testQueryWithFilter1() throws ProcessorException, IOException {

List<Path> pathList = new ArrayList<Path>();
pathList.add(path2);
Expand All @@ -85,7 +86,7 @@ public void testQueryWithFilter1() throws ProcessorException {
}

@Test
public void testQueryWithFilter2() throws ProcessorException {
public void testQueryWithFilter2() throws ProcessorException, IOException {
List<Path> pathList = new ArrayList<Path>();
// pathList.add(path1);
pathList.add(path2);
Expand Down

0 comments on commit fbd64ce

Please sign in to comment.