Skip to content

Conversation

@amogh-jahagirdar
Copy link
Contributor

This change clarifies in the REST Spec that server implementations for commit endpoints should fail with 400
for any unknown requirements/updates. This ensures that server implementations should not ignore table change or requirement to ensure correctness guarantees for implementations.

The default implementation already fails for unknown updates and requirements.

…oints must fail with 400 if any unknown updates or requirements are received
@amogh-jahagirdar
Copy link
Contributor Author

I will start a mailing list thread on this as well

@amogh-jahagirdar
Copy link
Contributor Author

cc @emkornfield

@amogh-jahagirdar amogh-jahagirdar changed the title Spec: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates OpenAPI: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates Aug 2, 2024
@emkornfield
Copy link
Contributor

Small nit on title, s/should/must/

@amogh-jahagirdar amogh-jahagirdar changed the title OpenAPI: Clarify in REST spec that server implementations of commit endpoints should fail with 400 for unknown requirements/updates OpenAPI: Clarify in REST spec that server implementations of commit endpoints must fail with 400 for unknown requirements/updates Aug 2, 2024
@amogh-jahagirdar
Copy link
Contributor Author

Thanks everyone for reviewing, the vote has passed https://lists.apache.org/thread/99lo7stnprchjzosjcq9k3mns1mq8fwc
and I will go ahead and merge.

@amogh-jahagirdar amogh-jahagirdar merged commit 10fce27 into apache:main Aug 16, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
…oints must fail with 400 if any unknown updates or requirements are received (apache#10848)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants