적용 대상:yes Databricks Runtime 18.1 이상으로 ![]()
정수 요약이 포함된 TupleSketch의 예상 고유 키 수를 반환합니다.
문법
tuple_sketch_estimate_integer ( sketch )
Arguments
- sketch: 정수 요약이 있는 이진 형식의 TupleSketch입니다.
Returns
DOUBLE 예상 키 수를 나타내는 값입니다.
오류 메시지
예시
> SELECT tuple_sketch_estimate_integer(tuple_sketch_agg_integer(key, summary)) FROM VALUES (1, 1), (1, 2), (2, 3) tab(key, summary);
2.0