test: Add end to end tests for quantile digest functions #27582
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 276 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #27582"
general
weight: 0.35
pramodsatya
Description
Add end-to-end tests for the quantile digest (qdigest) functions on the native worker: qdigest_agg (all
three variants), merge, value_at_quantile, values_at_quantiles, and scale_qdigest.
Motivation and Context
Closes https://github.com/prestodb/presto/issues/26939. The qdigest functions are registered in Velox
but had no e2e coverage comparing Java vs native worker results.
Impact
Tests only. No user-facing or API changes.
Test Plan
<!---Please fill in how you tested your change-->
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.
Summary by Sourcery
Add end-to-end native worker coverage for qdigest aggregation and related functions to ensure consistency with Java execution.
Tests: