Add additional metadata to the response#9122
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9122 +/- ##
==========================================
Coverage 69.96% 69.96%
- Complexity 4674 4758 +84
==========================================
Files 1838 1838
Lines 97349 97564 +215
Branches 14672 14715 +43
==========================================
+ Hits 68107 68261 +154
- Misses 24493 24553 +60
- Partials 4749 4750 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. |
|
@siddharthteotia @Jackie-Jiang @snleee Can you take a look at the changes ? I have attached the references in the description |
There was a problem hiding this comment.
LGTM
@Jackie-Jiang @siddharthteotia do you guys want to take a look once more?
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
| numConsumingSegmentsMatched++; | ||
| } | ||
| } | ||
| } catch (UnsupportedOperationException ignored) { } |
There was a problem hiding this comment.
This try catch is redundant
There was a problem hiding this comment.
SelectionCombineOperatorTest.testSelectionLimit0 Should I modify this test to expect an exception as well ? Also while I was trying the query I was getting UnsupportedException in the response but the exception has happened while fetching the metadata. So it gives an impression that the query is not supported which it is.
Let me know if you still feel we want to change this, Thanks
There was a problem hiding this comment.
I see. All the segment top level operator should have this implemented, or this won't be accurate. Seems it is missing from several operators. We may keep it like this for now, and let's add a TODO to check all operators and make sure they have that method properly implemented in a separate PR.
(nit) We usually use 2 lines even when the block is empty
| } catch (UnsupportedOperationException ignored) { } | |
| } catch (UnsupportedOperationException ignored) { | |
| } |
Co-authored-by: Xiaotian (Jackie) Jiang <17555551+Jackie-Jiang@users.noreply.github.com>
|
Thanks for working on this! |
Fix #7144
Reference: #9092, #9119