groupBitmapOr
groupBitmapOr
도입 버전: v20.1
비트맵 컬럼의 OR 연산 결과를 계산하고 그 기수(cardinality)를 반환합니다.
조합자 접미사 -State를 추가하면 비트맵 객체를 반환합니다.
이는 조합자 접미사 -Merge가 있는 groupBitmap인 groupBitmapMerge와 동일합니다.
문법
인자
expr— 결과 타입이AggregateFunction(groupBitmap, UInt*)인 표현식입니다.AggregateFunction(groupBitmap, UInt*)
반환 값
UInt64 타입의 개수(count)를 반환하거나, -State를 사용할 때는 비트맵 객체를 반환합니다. UInt64
예시
사용 예시
-State 조합자 사용