Skip to content
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

Add test to ensure every table update has corresponding _apply_table_update function #952

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Jul 21, 2024

This PR adds a test in to check that every TableUpdate class has a corresponding _apply_table_update function.

While looking at #864 and #950, I noticed that some TableUpdate classes do not have corresponding _apply_table_update function.
I think we should enforce this in tests so that any future TableUpdate have the necessary _apply_table_update to process the update.

@kevinjqliu kevinjqliu force-pushed the kevinjqliu/enforce-table-update-dispatch branch from be27ba3 to edf0c17 Compare August 7, 2024 18:00
@kevinjqliu kevinjqliu changed the title add test Add test to ensure every table update has corresponding _apply_table_update function Aug 7, 2024
@kevinjqliu kevinjqliu added this to the PyIceberg 0.9.0 release milestone Oct 30, 2024
@kevinjqliu kevinjqliu force-pushed the kevinjqliu/enforce-table-update-dispatch branch from edf0c17 to c5bcea7 Compare November 3, 2024 00:22
@kevinjqliu kevinjqliu removed this from the PyIceberg 0.9.0 release milestone Feb 1, 2025
@grihabor
Copy link
Contributor

grihabor commented Feb 19, 2025

@kevinjqliu Since these 2 prs #1598 #1561 are now in main, I believe you can now rebase and merge this one

@kevinjqliu
Copy link
Contributor Author

Amazing! @grihabor thanks for the ping, let me rebase this PR

@kevinjqliu kevinjqliu marked this pull request as ready for review February 19, 2025 16:53
@kevinjqliu kevinjqliu requested a review from Fokko February 19, 2025 16:54
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.

2 participants