← Back to Pull requests

chore(deps): bump DataFusion to 56.0.0 #120

Closed
unknown closed this pull request without merging on Nov 30, 2026 17:33 UTC
View on GitHub
unknown unknown commented on Nov 21, 2026 16:59 UTC
Author

Which issue does this PR close?

N/A — upgrades the binding to DataFusion 56.0.0.

Rationale for this change

DataFusion 56.0.0 has been released. This was first tested against 56.0.0-rc2 during the vote, and now points at the published crates.

What changes are included in this PR?

  • datafusion, datafusion-proto, datafusion-spark and datafusion-substrait move from 55.0.0 to 56.0.0. arrow moves from 59 to 60 and object_store from 0.13 to 0.14, matching what DataFusion 56 pulls in.

  • <datafusion.version> is set to 56.0.0, so the .proto files are downloaded from the release tag. Both <sha512> digests are updated.
  • Changes needed for the upstream API changes:

  • TableProvider::scan takes Option<&[usize]> for the projection, not Option<&Vec<usize>>. JavaTableProvider is updated to match.

  • ParquetOptions.compression is now Option<DFParquetCompression>, not a String. writeParquet parses the caller's string with DFParquetCompression::from_str. A side effect: an invalid codec or level is now rejected before writing starts, with a Configuration error, instead of failing when the first file is written.

  • ArrowArrayStreamReader was renamed to RecordBatchStreamReader in arrow 60. The old name is a deprecated alias, and it would fail clippy -D warnings.
  • Are these changes tested?

    Covered by the existing suites:

  • ./mvnw test: 349 tests, 0 failures, 13 skipped (TPC-H data-gated tests; no local TPC-H data).

  • cargo test --workspace --features substrait,spark: passing.

  • cargo clippy --all-targets --workspace --features substrait,spark -- -D warnings: clean.

  • cargo fmt --all and ./mvnw spotless:apply: clean.
  • Are there any user-facing changes?

    An invalid Parquet compression string passed to writeParquet now fails earlier, at configuration time. Otherwise there are no API changes.

    🤖 Generated with Claude Code

    Diff: 244 lines (+183 / -61) across 3 files Reviewer: comphead Review duration: 12994m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 244 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%
    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.329
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #120"
    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: 38.8% (MEDIUM) · Higher = larger blast radius
    38.8%
    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.3% · Safe to merge
    15.3%