siddharthteotia commented on a change in pull request #4535: Implement DISTINCT
clause
URL: https://github.com/apache/incubator-pinot/pull/4535#discussion_r318300627
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/query/aggregation/function/AggregationFunction.java
##########
@@ -119,4 +120,6 @@ IntermediateResult merge(@Nonnull IntermediateResult
intermediateResult1,
*/
@Nonnull
FinalResult extractFinalResult(@Nonnull IntermediateResult
intermediateResult);
+
+ void setRecordLimit(int recordLimit, Limits.LimitLevel level);
Review comment:
I thought this was the way to propagate down limit info (at each level
segment, server, broker) without type casting the function specifically to
distinct. Its a NO-OP for other aggregation functions where we have the
invariant of no more than one output row.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]