適用対象:はい Databricks Runtime 18.1 以降と![]()
整数の概要を持つ TupleSketch から一意のキーの推定数を返します。
構文
tuple_sketch_estimate_integer ( sketch )
論争
- スケッチ: 整数の概要を含むバイナリ形式の TupleSketch。
返品ポリシー
キーの推定個別カウントを表す 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