You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/02/18 19:56:29 UTC

[GitHub] [pinot] Jackie-Jiang commented on issue #8225: Multiple argument support for DISTINCTCOUNTHLL/DISTINCTCOUNTTHETASKETCH

Jackie-Jiang commented on issue #8225:
URL: https://github.com/apache/pinot/issues/8225#issuecomment-1045099301


   One work-around is to concat the two columns into a single string, e.g. `select distinctcounthll(concat(id, date, ',')) from myTable`. The performance could be sub-optimal because the dictionary/type-based optimization cannot be applied.
   
   To optimize the performance, one solution is to combine multiple values from different columns into a `byte[]` then feed into the hll/thetasketch. This should give better performance than representing numbers using strings


-- 
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-unsubscribe@pinot.apache.org

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



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