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

domain: iceberg.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

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
Request vended storage credentials from an Iceberg REST catalog when loading a table
data-engineering · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

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

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans