Firebolt’s Apache Iceberg write capabilities are currently in public preview. We are gathering feedback and expanding support for this feature.
Syntax
Parameters
| Parameter | Description |
|---|---|
<table_name> | Table name. Currently not used, but a value must be provided. |
<select_query> | Any valid select query. |
<location_name> | The name of an Iceberg LOCATION object with CATALOG = FILE_BASED. |
<setting_name> | The name of a system setting. |
<setting_value> | The value to assign to system setting <setting_name>. |
Example
The following example writes the results of aSELECT query into a new Iceberg table at s3://my-bucket/path/to/iceberg/output.
Limitations:
- Catalogs: only supports a FILE_BASED catalog in AWS S3 object storage. I.e. the data and metadata files will be written to the specified location in S3.
-
Data types: supports the Iceberg equivelents of Firebolt’s data types, except
GEOGRAPHY. - Partitions: currently does not support writing partitioned tables.
- Metadata: only writes limited metadata that is optional per the Iceberg spec. Does not write column statistics, etc.
-
DML operations on Iceberg tables are not supported. Only the
CREATE ICEBERG TABLE AS SELECTandSELECTfromREAD_ICEBERG(...)operations are supported for Iceberg tables.