Skip to content

disable test_bodo_nan due to its monkeypatch behavior #2400

Closed as not planned

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

Activity

  1. added a commit that references this issue on Aug 28, 2025
  2. kevinjqliu commented on Aug 28, 2025

    @kevinjqliu
    ContributorAuthor

    test is disabled in #2401, leaving this open until we find a better solution

  3. ehsantn commented on Aug 28, 2025

    @ehsantn
    Contributor

    Thanks for reporting. I'll look into it soon.

  4. github-actions commented on Feb 25, 2026

    @github-actions

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

  5. added a commit that references this issue on Mar 5, 2026
  6. github-actions commented on Jul 9, 2026

    @github-actions

    This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions