Skip to content

Conversation

kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Sep 4, 2025

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

Follow up to #1635
We dont need to pin pyarrow specifically, just grab it from pyiceberg.
Revert datafusion version threshold to 45. Version 45 is the lowest version which will still work.
The underlying issue for #1635 is with the newer versions of datafusion, mainly datafusion 49 due to a breaking change described in #1647
So pyiceberg-core works with datafusion (python) library 45, 46, 47, and 48. just not 49

I verified locally with all the versions above:

hatch env prune && hatch run dev:test

i double checked. insert_into is available in datafusion 45. apache/datafusion@7f9a8c0

Are these changes tested?

@kevinjqliu
Copy link
Contributor Author

cc @lliangyu-lin @manuzhang

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kevinjqliu for this fix!

@liurenjie1024 liurenjie1024 merged commit 7362bbd into apache:main Sep 5, 2025
17 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/pin-datafusion-version branch September 6, 2025 05:21
sumanth-manchala pushed a commit to sumanth-manchala/iceberg-rust that referenced this pull request Sep 6, 2025
## Which issue does this PR close?

- Closes #.

## What changes are included in this PR?
Follow up to apache#1635
We dont need to pin pyarrow specifically, just grab it from pyiceberg.
Revert datafusion version threshold to 45. Version 45 is the lowest
version which will still work.
The underlying issue for apache#1635 is with the **newer** versions of
datafusion, mainly datafusion 49 due to a breaking change described in
apache#1647
So pyiceberg-core works with datafusion (python) library 45, 46, 47, and
48. just not 49

I verified locally with all the versions above:
```
hatch env prune && hatch run dev:test
```

i double checked. `insert_into` is available in datafusion 45.
apache/datafusion@7f9a8c0

## Are these changes tested?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants