Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kevinjqliu opened this issue Aug 31, 2024 · 1 comment
Open

Comments

@kevinjqliu
Copy link
Contributor

kevinjqliu commented Aug 31, 2024

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.

Copy link

github-actions bot commented Mar 1, 2025

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.

@github-actions github-actions bot added the stale label Mar 1, 2025
@kevinjqliu kevinjqliu removed the stale label Mar 1, 2025
@kevinjqliu kevinjqliu added this to the PyIceberg 0.10.0 milestone Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant