Ring-k commented on a change in pull request #1866:
URL: https://github.com/apache/iotdb/pull/1866#discussion_r512368718
##########
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:
When we have some nonsense predicates, such as
- select status, temperature from root.ln.wf01.wt01 where time <
2017-11-01T00:05:00.000 and time > 2017-11-01T00:12:00.000
----------------------------------------------------------------
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]