Skip to content

Commit fbd64ce

Browse files
committed
v0.4.0
1 parent 8445b08 commit fbd64ce

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/main/java/cn/edu/tsinghua/iotdb/qp/executor/SingleFileQPExecutor.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ public TSDataType getSeriesType(Path path) {
4747
public boolean judgePathExists(Path path) {
4848
if (SQLConstant.isReservedPath(path))
4949
return true;
50-
return queryEngine.pathExist(path);
50+
try {
51+
return queryEngine.pathExist(path);
52+
} catch (IOException e) {
53+
e.printStackTrace();
54+
}
55+
return false;
5156
}
5257

5358
@Override

src/test/java/cn/edu/tsinghua/iotdb/qp/utils/MemIntQpExecutorTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package cn.edu.tsinghua.iotdb.qp.utils;
22

33

4+
import java.io.IOException;
45
import java.util.ArrayList;
56
import java.util.List;
67

@@ -62,7 +63,7 @@ public void testQueryWithoutFilter() throws ProcessorException {
6263
}
6364

6465
@Test
65-
public void testQueryWithFilter1() throws ProcessorException {
66+
public void testQueryWithFilter1() throws ProcessorException, IOException {
6667

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

8788
@Test
88-
public void testQueryWithFilter2() throws ProcessorException {
89+
public void testQueryWithFilter2() throws ProcessorException, IOException {
8990
List<Path> pathList = new ArrayList<Path>();
9091
// pathList.add(path1);
9192
pathList.add(path2);

0 commit comments

Comments
 (0)