lovromazgon opened a new pull request, #754: URL: https://github.com/apache/iceberg-go/pull/754
This PR adds support for two-phase staged table creation in a REST catalog via the new `WithStagedUpdates` option. When staged updates are present (e.g. `assign-uuid`, `add-snapshot`, `set-snapshot-ref`), the REST catalog sends a create request with `stage-create=true`, then commits via `CommitTable` with `assert-create` + all updates atomically. There's a few minor additional fixes sneaked into this PR: - Map HTTP status 500/502/503/504 on `CommitTable` and `UpdateTable` to `ErrCommitStateUnknown` (matching Java's error mapping) - Remove dead code in `CommitTable` - Fix `make lint-install` target (missing v2) -- 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]
