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

Partition Spec Evolution API #732

Open
c-thiel opened this issue Nov 28, 2024 · 3 comments
Open

Partition Spec Evolution API #732

c-thiel opened this issue Nov 28, 2024 · 3 comments
Assignees

Comments

@c-thiel
Copy link
Collaborator

c-thiel commented Nov 28, 2024

The general philosophy of any engine that implements Iceberg-Rust is that they should not care about things like field-IDs. Therefore we try to hide this logic behind APIs. To allow evolution of the partition spec, we have the UpdateSpec API in Python and the BaseUpdatePartitionSpec (implements UpdatePartitionSpec) in Java.

Mutating partition specs works differently in V1 and V2 of the spec. I think it would be OK to focus on V2 first and simply fail to write V1 for now. @liurenjie1024, @Xuanwo do you agree or is mutation / write for V1 important?

This should add the update_spec method to Transaction.

@ZhiHanZ
Copy link

ZhiHanZ commented Nov 28, 2024

Can I take a trial on this issue?

@c-thiel
Copy link
Collaborator Author

c-thiel commented Nov 30, 2024

Sure @ZhiHanZ! Let us know if there are any challenges or questions!

@liurenjie1024
Copy link
Contributor

Thanks for @c-thiel for raising this. I agree that we should focus on v2 first, and add v1 support later.

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

3 participants