-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add new broker query point for querying multi-stage engine #11341
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
Add new broker query point for querying multi-stage engine #11341
Conversation
2c08ee3 to
0379ba5
Compare
pinot-broker/src/main/java/org/apache/pinot/broker/api/resources/PinotClientRequest.java
Outdated
Show resolved
Hide resolved
0379ba5 to
1e614e2
Compare
Jackie-Jiang
left a comment
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.
Seems there is a bug in MultiStageBrokerRequestHandler where it uses TRACE in the json request instead of the query options. We should use the one in query options instead. RequestUtils.setOptions() already set the one in json request into the query options.
Other than that, LGTM
Codecov Report
@@ Coverage Diff @@
## master #11341 +/- ##
============================================
- Coverage 68.46% 68.31% -0.16%
+ Complexity 6535 6532 -3
============================================
Files 2233 2233
Lines 119952 119971 +19
Branches 18191 18191
============================================
- Hits 82128 81955 -173
- Misses 31984 32171 +187
- Partials 5840 5845 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 31 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
1e614e2 to
b3e6817
Compare
b3e6817 to
f24e48c
Compare
|
Please add these new APIs to the pinot doc |
Per #11251 , create two new Broker API endpoints for multi-stage query engine.
Make Integration tests to use new endpoint for testing multi-stage engine.