Remove experimental DataFusion TableProvider integration #4547
<!-- ccr-overview-v2 -->
🟢 Approval recommended
No active review issues remain for the removal of the experimental DataFusion integration.
No open issues 🎉
<details>
<summary><strong>What changed in this PR</strong></summary>
Removes PyIceberg’s experimental DataFusion TableProvider integration following its removal from pyiceberg-core, eliminating the associated DataFusion ABI version coupling.
Changes:
pyiceberg-core upper 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. |
</details>
<sub>Review effort: Balanced</sub>
we list this as "experimental" so i think we can remove without a deprecation cycle
Approved these changes.
Fokko
kevinjqliu
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
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.<!-- In the case of user-facing changes, please add the changelog label. -->