eaugene commented on issue #11292:
URL: https://github.com/apache/pinot/issues/11292#issuecomment-1670924264

   Debugged the root cause  : 
   Removing from NoDictColumns is passing the query to 
`NonScanBasedAggregationOperator` so its working . But with noDictColumns 
enabled its passing to AggregationOperator->`DistinctCountAggregationFunction` 
, where the correct operator would be 
AggregationOperator->`DistinctCountMVAggregationFunction` . 
   
   The alternate is to use DISTINCTCOUNTMV(mvCol)  - which uses 
`DistinctCountMVAggregationFunction` .
   Will work to explicitly fail queries with an error message with 
DISTINCTCOUNT on a multivalued field is used. 


-- 
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]

Reply via email to