-
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
Allow override distinctCount to segmentPartitionedDistinctCount #7664
Allow override distinctCount to segmentPartitionedDistinctCount #7664
Conversation
6cb2e35
to
490a4e0
Compare
Codecov Report
@@ Coverage Diff @@
## master #7664 +/- ##
=============================================
- Coverage 71.55% 14.58% -56.98%
+ Complexity 4036 80 -3956
=============================================
Files 1578 1532 -46
Lines 80249 78452 -1797
Branches 11914 11730 -184
=============================================
- Hits 57426 11441 -45985
- Misses 18955 66172 +47217
+ Partials 3868 839 -3029
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
a2edf4c
to
a780267
Compare
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
22658d2
to
f0cc2a7
Compare
f0cc2a7
to
fb1363e
Compare
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.
LGTM otherwise
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Show resolved
Hide resolved
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
fb1363e
to
9850489
Compare
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java
Outdated
Show resolved
Hide resolved
9850489
to
e25e7e3
Compare
…he#7664) * Allow override distinctCount to segmentPartitionedDistinctCount * check both rt and offline table field configs * Address comments
Description
Pinot added this SegmentPartitionedDistinctCount function (#5786) long back to allow users to pre-partition distinct key at segment level then speed up distinct count query latency.
This PR introduces the function override automatically once user also specified the column is segment partitioned in FieldConfig prop with:
isSegmentPartitioned=true
.Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
backward-incompat
, and complete the section below on Release Notes)Does this PR fix a zero-downtime upgrade introduced earlier?
backward-incompat
, and complete the section below on Release Notes)Does this PR otherwise need attention when creating release notes? Things to consider:
release-notes
and complete the section on Release Notes)Release Notes
Documentation