Repository navigation
Remove experimental DataFusion TableProvider integration - #4547
Merged
kevinjqliu merged 2 commits intoDec 1, 2026
Merged
kevinjqliu merged 2 commits into
kevinjqliu merged 2 commits into
Conversation
pyiceberg-core removed the DataFusion TableProvider export (apache/iceberg-rust#3143) because it bypassed PyIceberg's scan path and tightly coupled pyiceberg-core to DataFusion's FFI ABI. Breaking changes: - Remove experimental Table.__datafusion_table_provider__ - Remove the optional datafusion extra (moved to dev for upsert tests) - Drop the <0.11.0 upper bound on pyiceberg-core and bump lockfile to 0.11.0 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the removal of the experimental DataFusion integration.
No open issues 🎉
What changed in this PR
Removes PyIceberg’s experimental DataFusion TableProvider integration following its removal from pyiceberg-core, eliminating the associated DataFusion ABI version coupling.
Changes:
- Removes the table-provider method, its dedicated test, and integration documentation.
- Moves DataFusion from an optional extra to development dependencies for upsert tests.
- Removes the
pyiceberg-coreupper bound and DataFusion’s Dependabot exclusion, updating the lockfile.
| File | Description |
|---|---|
uv.lock |
Updates dependency metadata and locks newer DataFusion and pyiceberg-core versions. |
tests/table/test_datafusion.py |
Deletes the removed integration’s test. |
pyproject.toml |
Moves DataFusion to development dependencies and relaxes the core version constraint. |
pyiceberg/table/__init__.py |
Removes Table.__datafusion_table_provider__ and its type import. |
mkdocs/docs/index.md |
Removes the DataFusion optional-extra listing. |
mkdocs/docs/api.md |
Removes TableProvider integration documentation and examples. |
.github/dependabot.yml |
Allows automated DataFusion dependency updates. |
Review effort: Balanced
kevinjqliu
commented
Dec 1, 2026
| └───────────┴─────────────┴────────────────────────────┴─────────────────────┘ | ||
| ``` | ||
|
|
||
| ### Apache DataFusion |
Contributor
Author
There was a problem hiding this comment.
we list this as "experimental" so i think we can remove without a deprecation cycle
kevinjqliu
commented
Dec 1, 2026
| "nbformat>=5.10.0", | ||
| "ipykernel>=6.29.0", | ||
| "ty==0.0.92", | ||
| "datafusion>=53", |
Contributor
Author
There was a problem hiding this comment.
this is used by
iceberg-python/tests/table/test_upsert.py
Line 22 in 0bef230
Fokko
approved these changes
Dec 1, 2026
kevinjqliu
enabled auto-merge
December 1, 2026 19:42
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Dec 1, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
Follow-up to apache/iceberg-rust#3143 (context in apache/iceberg-rust#3036), which removed
pyiceberg_core.datafusion.IcebergDataFusionTablefrompyiceberg-core.The experimental
Table.__datafusion_table_provider__integration (added in #2075) passed metadata toiceberg-rustinstead of using PyIceberg's scan implementation, and coupledpyiceberg-coreto DataFusion's FFI ABI major version. Removing it lets us drop thedatafusionextra (moved todevfortests/table/test_upsert.py), remove the<0.11.0upper bound onpyiceberg-core, and unpin Dependabot ondatafusion.Are these changes tested?
uv run python -m pytest -m unit tests/table/test_upsert.py tests/test_transforms.py -q: 335 passedmake lint(ruff,ruff format,nbqa-ruff,mypy,markdownlint,codespell,uv-lock): passedAre there any user-facing changes?
Yes. Removes the experimental
Table.__datafusion_table_provider__method and thedatafusionoptional dependency.