Load a table and commit an update using the Iceberg REST catalog protocol

domain: iceberg.apache.org · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Load a table with GET /v1/{prefix}/namespaces/{namespace}/tables/{table}; the response includes the current metadata-file location, a metadata object, and optionally vended credentials
  2. Read the current snapshotId and last-sequence-number from the returned metadata
  3. Build an UpdateTableRequest containing a list of requirements (e.g., assert-current-snapshot-id) and a list of updates (e.g., add-snapshot, set-snapshot-ref)
  4. POST the UpdateTableRequest to /v1/{prefix}/namespaces/{namespace}/tables/{table} to commit atomically
  5. On a 200 response, parse the new metadata location; on 409 (CommitFailedException) re-load the table and retry

Known gotchas

Related routes

Attach to an Iceberg REST catalog in DuckDB
duckdb.org · 5 steps · unrated
Register and query an Iceberg table through the Unity Catalog OSS REST API
docs.unitycatalog.io · 5 steps · unrated
Create a catalog and register an Iceberg table in Apache Polaris via its REST API
polaris.apache.org · 5 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp