nastra opened a new pull request, #7750: URL: https://github.com/apache/iceberg/pull/7750
This currently depends on https://github.com/apache/iceberg/pull/7741. The goal of this PR is to make `UpdateRequirement` available outside of the `rest` package layer, so that we can use it for https://github.com/apache/iceberg/pull/7569. The following things have been done in this PR: * create `org.apache.iceberg.UpdateRequirement` (copy of `org.apache.iceberg.rest.requests.UpdateTableRequest.UpdateRequirement`) and `org.apache.iceberg.UpdateRequirementParser` (copy of `org.apache.iceberg.rest.requests.UpdateRequirementParser`) * deprecate `org.apache.iceberg.rest.requests.UpdateTableRequest.UpdateRequirement` and `org.apache.iceberg.rest.requests.UpdateTableRequest` * replace `org.apache.iceberg.rest.requests.UpdateTableRequest` with `org.apache.iceberg.rest.requests.CommitTableRequest` which has the exact same structure, but takes `org.apache.iceberg.UpdateRequirement` * switch existing usage of `org.apache.iceberg.rest.requests.UpdateTableRequest.UpdateRequirement` to `org.apache.iceberg.UpdateRequirement` * switch existing usage of `org.apache.iceberg.rest.requests.UpdateTableRequest` to `org.apache.iceberg.CommitTableRequest` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
