Skip to content

test_read_spark_written_puffin_dv fails on deprecated PuffinFile.to_vector#3803

Description

@daviddallakyan2005

Apache Iceberg version

main (development)

Please describe the bug 馃悶

integration-test fails on main and on every open PR, including #3801.

The job stops on tests/integration/test_deletes.py::test_read_spark_written_puffin_dv:

DeprecationWarning: Call to to_vector, deprecated in 0.12.0, will be removed in 0.13.0. Use deletion_vectors_from_puffin_file(...) instead.

pyproject.toml sets filterwarnings = ["error"], so the deprecation is a hard failure.

This started when #3476 added the Spark Puffin DV interop test. That test calls puffin.to_vector(), which #3491 already deprecated. Production code in pyiceberg/io/pyarrow.py already uses deletion_vectors_from_puffin_file(...).

Evidence:

Willingness to contribute

  • I can contribute a fix for this bug independently

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