Skip to content

keeping datafusion versions aligned #1647

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg Rust version

None

Describe the bug

When using datafusion in rust and python, Fatal Python error: Bus error usually means there is an issue with the FFI boundary. Also see apache/datafusion-python#1217

For example, datafusion 48 -> 49 has a breaking change. Thus mixing code built with datafusion 48 and datafusion 49 will throw the above error.

The issue is with newer versions of datafusion, older versions are still compatible.

This is mostly presented in the python ecosystem since installing the datafusion package usually picks the latest version. This is what happened in #1635 and pinning the datafusion version to 47 resolved the issue.

Going forward, we have to be mindful of which datafusion version we use in the repo and also to build pyiceberg-core. This will determine which datafusion python version we can use.

To Reproduce

No response

Expected behavior

No response

Willingness to contribute

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions