jt2594838 commented on a change in pull request #31: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/31#discussion_r251021001
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/query/executor/EngineQueryRouter.java
 ##########
 @@ -73,18 +73,14 @@ public QueryDataSet query(QueryExpression queryExpression)
           return engineExecutor.execute();
         }
 
-      } catch (QueryFilterOptimizationException | PathErrorException e) {
-        throw new IOException(e);
+      } catch (QueryFilterOptimizationException e) {
+        throw new FileNodeManagerException(new IOException(e));
 
 Review comment:
   Why wrapping with an IOException.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to