← Back to Pull requests

Add DBR 18.3 Delta reader layer and share DBR 17.3 reader code [databricks] #16468

Closed
unknown closed this pull request without merging on Oct 22, 2026 05:32 UTC
View on GitHub
unknown unknown commented on Oct 21, 2026 00:17 UTC
Author

Related to #16282 and #15424. Follow-up to #16391.

Description

Add the DBR 18.3 Delta reader layer as the next step toward Delta Lake support.

  • Share the native deletion-vector reader implementation and bitmap utilities between DBR 17.3 and 18.3.

  • Keep runtime-specific adaptations in thin shim wrappers, preserving DBR 17.3 low-shuffle discovery behavior and leaving it disabled for DBR 18.3.

  • Add DBR 18.3 file-format handling, reader eligibility checks, and shredded-VARIANT CPU fallback.

  • Configure the DBR 18.3 module to compile the reader dependency subset.

  • Update the READMEs to document shared-source consumers, dependencies and the reader-module build.
  • The default DBR 18.3 build continues to use the Delta stub. Provider registration, transaction/write support, and Delta integration-test enablement remain follow-up work.

    Performance


    Performance testing is not required because this changes source locations and Maven source selection only. Source inventory and content comparison confirmed that DBR 17.3 compiles the same production source contents exactly once. Runtime algorithms, configuration and operator registration are unchanged.

    Validation

    Successfully built the DBR 18.3 reader module on a native DBR 18.3 node using Java 17:

    mvn -B -f scala2.13/delta-lake/delta-spark410db183/pom.xml \
      -Ddatabricks -Dbuildver=410db183 \
      -DskipTests -Dmaven.test.skip=true \
      -Dmaven.scaladoc.skip clean package
    

    AI assistance: Codex assisted with implementation and validation. The author reviewed and approved the complete changes before posting the PR.

    Checklists

    Documentation

  • Updated for new or modified user-facing features or behaviors

  • No user-facing change
  • Testing

  • Added or modified tests to cover new code paths

  • Covered by existing tests

  • Not required

  • (This PR adds compilation support and extracts existing reader code. Build validation is documented above; existing-runtime integration coverage is deferred to pre-merge CI.)

    Performance

  • Tests ran and results are added in the PR description

  • Issue filed with a link in the PR description

  • Not required
  • Diff: 271 lines (+203 / -68) across 3 files Reviewer: gerashegalov Review duration: 1755m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 271 lines diff across 3 files
    0.39
    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%
    56%
    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.335
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #16468"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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.5% (MEDIUM) · Higher = larger blast radius
    39.5%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 17.1% · Safe to merge
    17.1%