Skip to content

Conversation

@HonahX
Copy link
Contributor

@HonahX HonahX commented Mar 25, 2024

"partition-spec" and "schema" are deprecated but required field in v1 table metadata. For backward compatibility, I think we should to update "partition-spec" when applying SetDefaultSpecUpdate and "schema" when applying SetCurrentSchemaUpdate.

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

I agree that it is more correct, however they are officially deprecated (for quite a while). WDYT @rdblue @danielcweeks?

Let's wait for what their thoughts are. Another route would be to do this in Pydantic when serializing to JSON.

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