jasperjiaguo commented on code in PR #9386:
URL: https://github.com/apache/pinot/pull/9386#discussion_r969049354
##########
pinot-core/src/main/java/org/apache/pinot/core/plan/GlobalPlanImplV0.java:
##########
@@ -49,6 +49,9 @@ public DataTable execute() {
long startTime = System.currentTimeMillis();
InstanceResponseOperator instanceResponseOperator =
_instanceResponsePlanNode.run();
long endTime1 = System.currentTimeMillis();
+ if (endTime1 > _instanceResponsePlanNode._queryContext.getEndTimeMs()) {
+ throw new RuntimeException("Timeout after plan generation");
Review Comment:
Caught and print in
[BaseQueriesTest.java](https://github.com/apache/pinot/pull/9386/commits/e17f3492f78a7505f2fa1971b05ea7f8851ffde4#diff-a418235c421d9d09b2328265ddedb7424839f9a6722f8bf4dacacba624f5f1ab)
or it will incur too many changes for test cases
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]