← Back to Pull requests

[Protocol] Accept Materialize Partition Columns RFC #7650

Closed
unknown closed this pull request without merging on Sep 30, 2026 15:51 UTC
View on GitHub
unknown unknown commented on Sep 11, 2026 20:25 UTC
Author

Which Delta project/connector is this regarding?

  • Spark

  • Standalone

  • Flink

  • Kernel

  • Other (Protocol)
  • Description

    Accepts the Materialize Partition Columns RFC and folds its proposed changes into the protocol spec.

    The materializePartitionColumns writer feature and the delta.writePartitionColumnsToParquet table property now have production implementations that match the proposal, satisfying the acceptance criteria in protocol_rfcs/README.md:

  • Delta Spark — full write-path implementation.

  • delta-kernel-rs — write-path materialization (partition columns are included in the Parquet write schema when the feature, or IcebergCompatV3, is supported); enabled purely by presence in writerFeatures.

  • Java kernel (io.delta.kernel) — recognizes the writer feature at writer version 7.
  • Changes:

  • PROTOCOL.md: add the delta.writePartitionColumnsToParquet row to the Table Properties table, and add a new Materialize Partition Columns section (writer-only feature, writer version 7, enablement decision matrix) after Identity Columns.

  • PROTOCOL.md: add the section to the table of contents and register materializePartitionColumns in the Valid Feature Names in Table Features table. (These two were left stale by some earlier acceptance PRs; adding them here keeps the spec self-consistent.)

  • Move protocol_rfcs/materialize-partition-columns.md to protocol_rfcs/accepted/ and update the RFC index in protocol_rfcs/README.md (Proposed -> Accepted).
  • The feature name materializePartitionColumns is already stable (no preview/-dev suffix to remove).

    closes #5555

    How was this patch tested?

    Documentation/protocol-only change; no code. Verified that the spec is self-consistent: the new section's in-page anchor links (#iceberg-compatibility-v1, #iceberg-compatibility-v2, #per-file-statistics) resolve, and the TOC and Valid Feature Names entries point to the new #materialize-partition-columns section.

    Does this PR introduce _any_ user-facing changes?

    No. This ratifies an already-proposed protocol feature into the specification; it does not change runtime behavior.

    Diff: 276 lines (+207 / -69) across 3 files Reviewer: rahulsmahadev Review duration: 27086m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 276 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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 #7650"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.6% (MEDIUM) · Higher = larger blast radius
    39.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.6% · Safe to merge
    15.6%
    Repository