You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/13 12:27:32 UTC
[GitHub] [superset] villebro commented on issue #12493: Custom SQL COUNT_DISTINCT subtraction in metrics
villebro commented on issue #12493:
URL: https://github.com/apache/superset/issues/12493#issuecomment-759416324
`COUNT_DISTINCT(x)` is, I believe, a relic from old times, and should really be replaced by `COUNT(DISTINCT x)`. Regular count is used for counting rows, while distinct counting is used for counting unique values in the column.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org