CREATE ICEBERG TABLE

Purpose

Use CREATE ICEBERG TABLE to create an Iceberg table in an Iceberg catalog that has no representation in the database.

Prerequisites

You must install the Data Studio package for your on-premises database. See Oracle Data Studio Family of Packages of Database Utilities.

You must set up the ACL to be able to reach the Iceberg catalog server and object storage endpoints.

You must have the ADPUSER role, which is part of the Data Studio installation.

You must use functions and procedures offered by Data Studio’s DBMS_CATALOG package to access Iceberg tables and catalogs. For example, the Iceberg catalog needs to be mounted to your database using dbms_catalog.mount_iceberg.

See Also:

Syntax

Description of the illustration create_iceberg_table.gif

partition_by_clause::=

Description of the illustration partition_by_clause.gif

partition_transform::=

Description of the illustration partition_transform.gif

bucket_count::=

Description of the illustration bucket_count.gif

Semantics

Native iceberg table creation will support the same data types as DMLs, including decimal, float, double, string, date, and timestamp.

bucket_uri_or_prefix must be an S3-compatible endpoint

partition_transform

Iceberg tables use partition transforms to create at-will partitions based on the data being ingested. The partitions transforms supported by Iceberg tabels are :

Restrictions

Troubleshooting

To access the table after creation run the following command, if the catalog’s Oracle Database representation does not identify the table:

EXEC DBMS_CATALOG.FLUSH_CATALOG_CACHE('<catalog name>');