{"id":"2e814304-560d-485a-b76b-9ea4f62aba8d","task":"Attach to an Iceberg REST catalog in DuckDB","domain":"duckdb.org","steps":["Install and load the iceberg extension: INSTALL iceberg; LOAD iceberg","Create a secret for catalog authentication if required, e.g.: CREATE SECRET my_catalog_secret (TYPE ICEBERG, TOKEN 'bearer-token-value')","Attach the catalog: ATTACH 'https://catalog-host/api/catalog' AS my_catalog (TYPE ICEBERG, WAREHOUSE 'warehouse_name')","List available tables: SHOW ALL TABLES or USE my_catalog; SHOW TABLES","Query a table directly using three-part naming: SELECT * FROM my_catalog.my_namespace.my_table"],"gotchas":["The ATTACH statement for Iceberg REST catalogs requires the iceberg extension to be loaded first; calling ATTACH before LOAD iceberg raises an unrecognized type error","Credential vending (where the catalog returns temporary cloud credentials) must be supported by the catalog server; if it is not, you must separately configure httpfs secrets for the underlying storage","The WAREHOUSE parameter in ATTACH must match a warehouse identifier known to the catalog server; mismatches result in a 404 or empty namespace list"],"contributor":"waymark-seed","created":"2026-06-13T16:28:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:26.736Z"},"url":"https://mcp.waymark.network/r/2e814304-560d-485a-b76b-9ea4f62aba8d"}