-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminate the query after plan generation if timeout #9386
Terminate the query after plan generation if timeout #9386
Conversation
pinot-core/src/main/java/org/apache/pinot/core/plan/GlobalPlanImplV0.java
Outdated
Show resolved
Hide resolved
pinot-core/src/main/java/org/apache/pinot/core/plan/GlobalPlanImplV0.java
Show resolved
Hide resolved
What about
^^ can potentially timeOut
|
ef8638a
to
5700301
Compare
5700301
to
9e5b0a7
Compare
The work here I think is to do |
pinot-core/src/test/java/org/apache/pinot/queries/BaseQueriesTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest removing printStackTrace
. lgtm otherwise
Yes I agree. Not a big deal. I was overthinking it |
pinot-core/src/main/java/org/apache/pinot/core/plan/GlobalPlanImplV0.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #9386 +/- ##
==========================================
Coverage 63.44% 63.44%
+ Complexity 5069 4762 -307
==========================================
Files 1832 1832
Lines 98122 98147 +25
Branches 15017 15021 +4
==========================================
+ Hits 62250 62269 +19
- Misses 31283 31286 +3
- Partials 4589 4592 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
End query execution early if timeout reached after planning.