[core] Preserve append writer configuration per bucket across prepares #1188
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 337 lines diff across 4 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.348
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #1188"
general
weight: 0.35
JeonDaehong
Purpose
Keep one declared append write type throughout a
TableWritelifetime and preserve Java's Blob consumer lifecycle. Current Java callers configure their row type before writing; bucket writers capture that schema and consume rows positionally.Changes
with_write_typebefore the first effective write. Repeating the same ordered selection is a no-op; changing columns or order after writing is rejected, including after prepare or idle cleanup. Empty and ignored input does not lock the configuration._row_write_columns, its Python stubs and Core resolver, along with historical schema lookup and per-bucket write-column caches. Native rows encode the selected columns and required routing/event fields in one batch.prepare_commit()primitive unchanged. It conservatively retains fixed-bucket context without a checkpoint identifier; bindings forward their existing batch/stream identifiers through the internal bridge.internalmodule declaration.Verification
fulltext,vortex; formatting and diff checks.No Native extension was rebuilt or installed into the Python test environments. Matching PyPaimon adapter, Pure Python lifecycle, regression tests and documentation changes are in apache/paimon#10724.