Quantile Digest Functions
Overview
Quantile digest is a data sketch that stores approximate percentile information. The HetuEngine type for this data structure is called qdigest.
Function
- value_at_quantile(qdigest(T), quantile) → T
Description: Returns the approximate percentile values from the quantile digest given the number quantile between 0 and 1.
- values_at_quantiles(qdigest(T), quantiles) -> array(T)
Description: Returns the approximate percentile values as an array given the input quantile digest and array of values between 0 and 1 which represent the quantiles to return.
- qdigest_agg(x) -> qdigest([same as x])
Description: Returns the qdigest which is composed of all input values of x.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot