Before you start
Choose a writable Iceberg catalog and an unused namespace. This example useshttp_docs_01; change it everywhere if it already exists. Set the catalog name under Example values before sending the USE statement.
Publish and inspect a private Iceberg table
Send each statement separately in one session. Wait for success before its dependent step. Cleanup is explicit.
Replace the placeholders in your client. Keep returned IDs for later requests. Paths below use the native API prefix; adjust it for your deployment.
1. Open a session
session_id from /session_id.
Endpoint reference.
2. Choose the writable catalog
3. Follow: Choose the writable catalog
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
4. Create the private namespace
5. Follow: Create the private namespace
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
6. Create a format-v2 table
7. Follow: Create a format-v2 table
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
8. Publish category totals
9. Follow: Publish category totals
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
10. Read published totals
11. Follow: Read published totals
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
12. Read: Read published totals
13. Compact eligible files
14. Follow: Compact eligible files
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
15. Read: Compact eligible files
16. Verify totals after maintenance
17. Follow: Verify totals after maintenance
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
18. Read: Verify totals after maintenance
19. Clean up the practice table
20. Follow: Clean up the practice table
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.
21. Clean up the empty namespace
22. Follow: Clean up the empty namespace
/status reaches a terminal state: Succeeded, Failed, Cancelled, OutcomeUnknown, Skipped.
Endpoint reference.