You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "jpohanka (via GitHub)" <gi...@apache.org> on 2023/11/03 13:11:19 UTC

[I] [Enhancement] Add optional argument to APPROX_COUNT_DISTINCT to tune the error rate [doris]

jpohanka opened a new issue, #26413:
URL: https://github.com/apache/doris/issues/26413

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   Many query engines and databases implement the approximate count distinct with an optional parameter to calibrate the resulting accuracy of the function.
   
   Examples:
   - Trino : https://trino.io/docs/current/functions/aggregate.html?highlight=approx_distinct#approx_distinct
   - Pinot: https://docs.pinot.apache.org/configuration-reference/functions/distinctcounthll
   
   This could be also added to Doris's APPROX_COUNT_DISTINCT function as an optional 'error rate' parameter. 
   
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

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


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


Re: [I] [Enhancement] Add optional argument to APPROX_COUNT_DISTINCT to tune the error rate [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #26413:
URL: https://github.com/apache/doris/issues/26413#issuecomment-3287231363

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


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

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


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


Re: [I] [Enhancement] Add optional argument to APPROX_COUNT_DISTINCT to tune the error rate [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #26413: [Enhancement] Add optional argument to APPROX_COUNT_DISTINCT to tune the error rate
URL: https://github.com/apache/doris/issues/26413


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

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


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