LebronAl commented on a change in pull request #1866:
URL: https://github.com/apache/iotdb/pull/1866#discussion_r512366813
##########
File path:
server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
##########
@@ -371,7 +374,12 @@ protected QueryDataSet processDataQuery(QueryPlan
queryPlan, QueryContext contex
} else if (queryPlan instanceof LastQueryPlan) {
queryDataSet = queryRouter.lastQuery((LastQueryPlan) queryPlan,
context);
} else {
- queryDataSet = queryRouter.rawDataQuery((RawDataQueryPlan) queryPlan,
context);
+ try {
+ queryDataSet = queryRouter.rawDataQuery((RawDataQueryPlan)
queryPlan, context);
+ } catch (IndexOutOfBoundsException e) {
Review comment:
Sorry, I'm a little confused about when will this method throw a
IndexOutOfBoundsException?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]