-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[multistage] support the rest of the agg functions currently implementable #11208
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11208 +/- ##
==========================================
- Coverage 0.11% 0.00% -0.12%
==========================================
Files 2229 2213 -16
Lines 119803 119390 -413
Branches 18126 18071 -55
==========================================
- Hits 137 0 -137
+ Misses 119646 119390 -256
+ Partials 20 0 -20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/AggregationFunctionType.java
Outdated
Show resolved
Hide resolved
pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/AggregationFunctionType.java
Outdated
Show resolved
Hide resolved
pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/AggregationFunctionType.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.
where is this ;:; used?
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.
the problem is b/c in some agg literals it allows stringify parameter type with ; as the separator. this conflicts with my usage of ; which indicates the "next literal hint".
Thus i used another 3-character splitter ;:; to indicate hint-literal boundaries.
8d77bd6 to
e04fc30
Compare
…he#11208) * support the rest of the agg functions * support others trivial ones such as DISTINCT_SUM/AVG, MIN_MAX_RANGE, etc * add DISTINCT_COUNT variances * add PERCENTILE_* variances * added TODO comments for the rest of the functions --------- Co-authored-by: Rong Rong <[email protected]>
add all supported agg functions to follow up with #11034
the following can be added very soon (some complication due to testing)
distinctCountBitmapis not yet supported, can be added later*TupleSketchfunctions not yet supportedSTUnionagg function*MVvariance of agg functions will be added in [multistage] Support multi-value aggregation functions #11216the following functions require some revisit
histogramnot yet supported due to complex ARRAY constructor_version of the stats function such asCOVAR_POPis not supported, (where ascoVarPopis) due to calctie built-in operator table conflict.argmin/argmaxis not supported due to conflicting signature (e.g. arg column at 1st vs arg column at last convention differs between pinot and calcite)funnelCountdue to its complex syntax, there should be an easier solution in v2