CREATE ICEBERG TABLE.
An Iceberg database stores only a pointer to an Iceberg LOCATION and a freshness setting. Each query resolves the table against the upstream catalog at run time, so any table added to the catalog becomes visible on the next query.
Syntax
Parameters
Supported catalog types
CREATE ICEBERG DATABASE works with any Iceberg LOCATION object that targets one of the following catalog types:
FILE_BASEDRESTSNOWFLAKE_OPEN_CATALOGDATABRICKS_UNITYAWS_GLUES3_TABLESNightly Feature
REST.
Name resolution
A fully qualified table name has three parts:<database>.<schema>.<table>.
<database>is the Iceberg database created withCREATE ICEBERG DATABASE.<schema>maps to the upstream Iceberg namespace.<table>maps to the Iceberg table within that namespace.
Example (REST catalog)
For how to create an Iceberg database backed by a
FILE_BASED, DATABRICKS_UNITY (as syntactic sugar on top of REST), SNOWFLAKE_OPEN_CATALOG (a REST-shaped catalog), AWS_GLUE, or S3_TABLES location, see CREATE LOCATION (Iceberg).Limitations
- The LOCATION must be warehouse-/catalog-scoped. A LOCATION that pins
NAMESPACE(REST, SNOWFLAKE_OPEN_CATALOG, S3_TABLES),SCHEMA(DATABRICKS_UNITY),DATABASE(AWS_GLUE), orTABLEfails atCREATE ICEBERG DATABASEtime. - Tables in a mounted database are resolved on demand by name.
SHOW TABLESandinformation_schema.tablesdo not list them.