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

Update a TableSchema from a Schema #698

Open
Fokko opened this issue Nov 14, 2024 · 0 comments
Open

Update a TableSchema from a Schema #698

Fokko opened this issue Nov 14, 2024 · 0 comments

Comments

@Fokko
Copy link
Contributor

Fokko commented Nov 14, 2024

To make things easier for query engines to evolve schemas into a target schema, it would be great to add UnionByName to Iceberg-Rust as well. The UnionByName visitor (python, java) to make extending of the schema easy. For example, see the Python docs on Union by Name.

For example, if you have a CDC application, and you see a new schema, you can just pass it into this method to update the table. It will traverse the schema and compare it based on the names.

Depends on #697

@Fokko Fokko changed the title Update a TableSchema from a new Schema Update a TableSchema from a Schema Nov 14, 2024
This was referenced Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant