Skip to content

disable test_bodo_nan due to its monkeypatch behavior #2400

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg version

None

Please describe the bug 🐞

The CI for #2291 is blocked due to

ERROR tests/integration/test_writes/test_writes.py::test_nanosecond_support_on_catalog - TypeError: BodoPyArrowFileIO.parse_location() takes 1 positional argument but 2 were given

It seems like after importing the bodo library, it will monkey patch PyArrowFileIO
https://github.com/bodo-ai/Bodo/blob/951cd32e70971f8250c2c73321f6e84ef6f865e6/bodo/io/iceberg/monkey_patch.py#L81
And fail test_bodo_nan along with all tests running after

This blocks us from making changes to pyiceberg's PyArrowFileIO implementation.

I'm going to disable the test for now as a workaround. We should find a more permanent solution

cc @ehsantn

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions