duckdb_iceberg icon indicating copy to clipboard operation
duckdb_iceberg copied to clipboard

`create schema` not supported in iceberg REST catalog API

Open chiumichael opened this issue 8 months ago • 1 comments

I've successfully attached an iceberg catalog from Cloudflare's R2 as suggested in https://github.com/duckdb/duckdb-iceberg/issues/182 using the code snippet below:

attach '<WAREHOUSE>' as my_catalog (
    TYPE iceberg,
    ENDPOINT <CATALOG_URI>,
    TOKEN <TOKEN>
);

I tried to create a schema/namespace via:

create schema my_catalog.schema;

but got the following error:

Not implemented Error:
IRCAPI::Create Schema not Implemented

Is this the wrong way to go about creating a namespace? Or is this the wrong way to think about Iceberg catalogs, tables, and duckdb? If this is something that's just on the list to be implemented, it would be good to know too.

Thanks!

chiumichael avatar Apr 22 '25 07:04 chiumichael

Duplicate / part of #37

Tishj avatar Apr 22 '25 09:04 Tishj