Skip to content

[bug] table.inspect.partitions() does not respect partition evolution #1120

@kevinjqliu

Description

@kevinjqliu

Apache Iceberg version

main (development)

Please describe the bug 🐞

Notebook to repro https://gist.github.com/kevinjqliu/e3f454d829d8711ecf9909e11a20add6

Expectation:
First, the table is partitioned by the timestamp field.
After evolving the partition spec by adding the category field, table.inspect.partitions() should still use the table's old partition spec.
Additionally, after adding data using the new partition spec, I should expect to see both old and new partition specs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions