Hi, Why do we use DISTINCTCOUNT instead of using C...
# general
m
Hi, Why do we use DISTINCTCOUNT instead of using COUNTDISTINCT here ?
m
distinctcount
is the name of the function that does exact distinct counting? https://docs.pinot.apache.org/configuration-reference/functions/distinctcount
m
Yes. That’s right. Does it name should be COUNTDISTINCT ?
m
Oh I see. yeh I'm not sure why the name is that way around, @User will probably know
m
It is there from PQL days. Now that we moved to SQL a while back, you can also use the sql syntax of count(distinct, …).
m
OKay. I see, thanks ~