DISTINCTCOUNTBITMAPMV
This section contains reference documentation for the DISTINCTCOUNTBITMAPMV function.
Returns the count of distinct row values in a group. This function is accurate for INT or dictionary encoded column, but approximate for other cases where hash codes are used in distinct counting and there may be hash collision.
DISTINCTCOUNTBITMAPMV(colName)
select DISTINCTCOUNTBITMAPMV(DivLongestGTimes) AS value
from airlineStats
where arraylength(DivLongestGTimes) > 1
value |
---|
34 |
select DISTINCTCOUNTBITMAPMV(DivTailNums) AS value
from airlineStats
where arraylength(DivTailNums) > 1
value |
---|
2 |
Last modified 5mo ago