rdblue opened a new pull request #3955:
URL: https://github.com/apache/iceberg/pull/3955
This adds two new routes to the REST catalog spec:
* `GET /v1/namespaces/{namespace}/tables/{table}` is used to load a table.
This returns:
* Table-specific configuration for the catalog (e.g., a specific FileIO
implementation for the table)
* The current table metadata
* `POST /v1/namespaces/{namespace}/tables/{table}` is used to commit updates
a table
* The request body contains `requirements` and `updates` as in the [REST
commit
proposal](https://docs.google.com/document/d/1D0R3G0slssEhggH5XnIzMwsUIP-c385Qp2sjv5E7e6E/edit#heading=h.eo4x0coo8esy),
but complete
* The response contains the updated table metadata
This PR includes the metadata JSON format expressed in OpenAPI to be able to
return full `TableMetadata`.
Note that this updates the proposed change set slightly to account for the
addition of branching and tagging. Instead of `SetCurrentSnapshot` the change
is `SetSnapshotRef`.
--
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]