File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
main/java/cn/edu/tsinghua/iotdb/qp/executor
test/java/cn/edu/tsinghua/iotdb/qp/utils Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11package cn .edu .tsinghua .iotdb .qp .utils ;
22
33
4+ import java .io .IOException ;
45import java .util .ArrayList ;
56import 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 );
You can’t perform that action at this time.
0 commit comments