नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Applies to:
Databricks Runtime 18.0 and later
Returns a human-readable string representation of an integer KLL sketch for debugging.
Syntax
kll_sketch_to_string_bigint ( sketch )
Arguments
sketch: ABINARYexpression containing a serialized integer KLL sketch.
Returns
A STRING containing debug information including: sketch parameters, item count, min/max values, and internal structure.
Notes
- Primarily intended for debugging and troubleshooting.
- Output format may change between versions.
Examples
> WITH sketch_data AS (
SELECT kll_sketch_agg_bigint(value) AS sketch
FROM VALUES (1), (2), (3), (4), (5) AS T(value)
)
SELECT kll_sketch_to_string_bigint(sketch) FROM sketch_data
### KLL sketch summary:
k : 200
n : 5
...