[FLINK-38199][benchmark] Add SinkUpsertMaterializerBenchmark for V1 and V2 #126
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 641 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.387
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #126"
general
weight: 0.35
MartijnVisser
Purpose of the change
FLINK-38199 adds a benchmark for the sink upsert materializer. This supersedes #106, which stalled after the review in August 2025. Roman's commit is kept as the first one, formatted for spotless and checkstyle.
Brief change log
SinkUpsertMaterializerBenchmarkwith theflink-table-runtimetest-jar (Roman's commit).table.exec.sink.upsert-materialize-strategy.typestrategies asstrategy,historyLengthinstead ofretractDelayandretractPercentage, and the method renamed tosinkUpsertMaterializerfor codespeed.Verifying this change
Nightly settings (3 forks, 1s iterations), Apple M4 Pro, JDK 17.0.20, Flink 2.5-SNAPSHOT of 2026-10-27:
In a short run with the sink loggers at INFO, no retraction missed its row in any combination.
Impact and documentation
Adds 32 combinations, about 35 minutes in the nightly run.
---
##### Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Claude Opus 5.5)