Terminate the query after plan generation if timeout#9386
Terminate the query after plan generation if timeout#9386siddharthteotia merged 4 commits intoapache:masterfrom
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
Outdated
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
siddharthteotia
left a comment
There was a problem hiding this comment.
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.