aw381246 opened a new issue, #12429:
URL: https://github.com/apache/pinot/issues/12429

   If the field passed into the distinctcountmv function is included in the 
list of select / group by fields, it will return incorrect counts.
   
   In the case below, the result for each row should be a distinctcount = 1 
instead of 2.
   
   If the array has n number of items, the distinctcount will return n instead 
of 1
   
   
![image](https://github.com/apache/pinot/assets/70593020/8aa67b27-c332-447a-88ed-f28523216a9a)
   
![image](https://github.com/apache/pinot/assets/70593020/2c7101f9-85a5-44d7-88df-f856bc6bb16a)
   


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to