shenyu0127 commented on code in PR #11348:
URL: https://github.com/apache/pinot/pull/11348#discussion_r1297782703
##########
pinot-core/src/main/java/org/apache/pinot/core/query/aggregation/function/BaseDistinctAggregateAggregationFunction.java:
##########
@@ -147,7 +149,7 @@ protected void svAggregate(int length,
AggregationResultHolder aggregationResult
// For dictionary-encoded expression, store dictionary ids into the bitmap
Dictionary dictionary = blockValSet.getDictionary();
- if (dictionary != null) {
+ if (dictionary != null && !_nullHandlingEnabled) {
Review Comment:
Done.
I previously thought the `int[] dictIds = blockValSet.getDictionaryIdsSV();`
was to get the dictionary IDs metadata and had the confusion in the earlier
comment.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]