v.23.1New Feature
Add quantileInterpolatedWeighted functions
AddquantileInterpolatedWeighted/quantilesInterpolatedWeightedfunctions. #38252 (Bharat Nallan).
Why it matters
These functions solve the problem of calculating more precise quantiles by allowing weighted data inputs and interpolation, improving accuracy for statistical analysis and reporting where weights are important.How to use it
Users can apply these functions in their queries by calling<code>quantileInterpolatedWeighted(weight_column)(value_column, quantile)</code> for single quantile or <code>quantilesInterpolatedWeighted(weight_column)(value_column, quantile_array)</code> for multiple quantiles, with the weights provided to adjust the impact of each value in the result.