Skip to content

Add tests for Partition Spec Evolution#2479

Merged
Fokko merged 2 commits into
apache:mainfrom
rambleraptor:partition_sort_evolution_tests
Oct 22, 2025
Merged

Add tests for Partition Spec Evolution#2479
Fokko merged 2 commits into
apache:mainfrom
rambleraptor:partition_sort_evolution_tests

Conversation

@rambleraptor

Copy link
Copy Markdown
Collaborator

Rationale for this change

The Java implementation has several tests around updating Table Specs. This adds three of them to the Python Catalog Tests.

Are these changes tested?

Tests should pass.

Are there any user-facing changes?

Just tests.

@gabeiglio gabeiglio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Left some small comments 👍🏼.

Comment thread tests/integration/test_catalog.py Outdated
Comment thread tests/integration/test_catalog.py Outdated
Comment thread tests/integration/test_catalog.py
@kevinjqliu

Copy link
Copy Markdown
Contributor

Looks like this caught a bug! Thanks @gabeiglio for fixing it in #2489.

Could you try to rebase this PR?

@rambleraptor rambleraptor force-pushed the partition_sort_evolution_tests branch from 1306663 to c29c29c Compare September 22, 2025 22:11
@rambleraptor

Copy link
Copy Markdown
Collaborator Author

@kevinjqliu rebased!

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

a few nit comments. Thanks for adding these tests :)
the add then remove one was a surprise to me

Comment thread tests/integration/test_catalog.py Outdated
Comment thread tests/integration/test_catalog.py Outdated
Comment thread tests/integration/test_catalog.py Outdated
Comment thread tests/integration/test_catalog.py Outdated
@rambleraptor rambleraptor force-pushed the partition_sort_evolution_tests branch 2 times, most recently from b7410ef to 9384139 Compare October 7, 2025 21:05
@Fokko

Fokko commented Oct 12, 2025

Copy link
Copy Markdown
Contributor

@rambleraptor Thanks for adding this, can you fix the merge conflicts?

@rambleraptor rambleraptor force-pushed the partition_sort_evolution_tests branch from 9384139 to 544e9be Compare October 12, 2025 23:52
@rambleraptor

Copy link
Copy Markdown
Collaborator Author

@Fokko merge conflicts fixed!

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rambleraptor and thanks for the review @kevinjqliu

@Fokko Fokko merged commit 36897b7 into apache:main Oct 22, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

4 participants