Iceberg
Connect an Iceberg REST catalog
Connect Artie to an Apache Iceberg REST catalog, such as Databricks Unity Catalog, and choose the Iceberg table format for new tables.
Set up Databricks Unity Catalog
Skip this section for any other REST catalog.
- Enable external data access.
- Grant the service principal the privileges in the list after these steps.
- Copy the REST catalog URI and the catalog name for the REST catalog URI and Warehouse (catalog name) fields in Artie.
The service principal needs these privileges:
EXTERNAL USE SCHEMA,EXTERNAL USE LOCATIONUSE CATALOG,USE SCHEMASELECTMANAGE,CREATE SCHEMA,CREATE TABLE,MODIFY
Grant each privilege to the service principal by its application ID. For example, run this in Databricks:
GRANT EXTERNAL USE SCHEMA ON SCHEMA catalog_name.schema_name TO `6f0c8a4e-2b1d-4c7a-9e3f-5d8b1a2c4e6f`;The REST catalog URI for Unity Catalog has this format:
https://DATABRICKS_HOST/api/2.1/unity-catalog/iceberg-restDATABRICKS_HOST is your workspace hostname, for example acme.cloud.databricks.com.
Authentication
Artie signs in to the catalog with a bearer token or with OAuth2 client credentials.
A bearer token is a personal access token, so Artie acts as the user who created it. Grant that user the privileges listed in Set up Databricks Unity Catalog, or use OAuth2 client credentials with the service principal.
To generate a personal access token in your Databricks workspace:
- Select your username in the top bar, then select Settings.
- Select Developer.
- Next to Access tokens, select Manage, then Generate new token.
- Enter a name for the token and set its lifetime in days. Record the expiry date.
- Select Generate, then copy the token.
The screenshot shows where each option sits in the workspace:

In Artie, set Authentication method to Bearer token and paste the token into Bearer token.
OAuth2 machine-to-machine (M2M) authentication signs Artie in as your service principal.
- Create an OAuth secret for your service principal with the Databricks OAuth M2M guide.
- In Artie, set Authentication method to Client credentials (OAuth2).
- In Client credentials, enter the client ID and the secret as
client_id:client_secret. - In Token endpoint (authURI), enter
https://DATABRICKS_HOST/oidc/v1/token. - In OAuth2 scope, enter
all-apis.
DATABRICKS_HOST is your workspace hostname, for example acme.cloud.databricks.com.
Add the REST catalog in Artie
These steps use the pipeline setup flow. For Iceberg, the flow has no Network access or Prepare destination step.
- On Choose your destination, select Iceberg, then select Continue.
- On Connect Iceberg, set Catalog type to REST catalog (Databricks Unity Catalog, etc.).
- Enter the connection fields from the table after these steps.
- If Namespace shows two options, select One namespace or Multiple namespaces.
- For one namespace, select the namespace Artie writes to in Namespace name.
- Select Verify destination. The step shows
Destination verified.
The connection fields appear in this order:
| Field | Required | What to enter |
|---|---|---|
| REST catalog URI | Yes | The endpoint URL of your catalog’s REST API. |
| Bearer token | Yes, with Bearer token authentication | The token Artie sends to the catalog. |
| Client credentials | Yes, with Client credentials (OAuth2) authentication | The client ID and secret, as client_id:client_secret. |
| Token endpoint (authURI) | Yes, with Client credentials (OAuth2) authentication | The OAuth2 token endpoint URL. |
| OAuth2 scope | No | The OAuth2 scope. Empty means catalog. |
| Warehouse (catalog name) | Yes | The name of your Iceberg catalog. |
| Prefix | No | The catalog prefix, if your catalog uses prefixes for namespacing. |
Switching Authentication method clears the fields of the other method.
Namespaces
Artie writes each table into an Iceberg namespace. The Namespace choice appears when your source has schemas.
- One namespace writes every table to the namespace in Namespace name. For source tables outside the default schema, Artie prepends the source schema name to the table name.
- Multiple namespaces writes each table to a namespace named after its source schema. Namespace name prefix (optional) adds a prefix to each namespace name.
Dynamically create namespaces is on for pipelines created in the setup flow. With it on, Artie creates any namespace that doesn’t exist.
To change the namespace on a running pipeline, pause the pipeline first. Then move its tables to the new namespace in your destination.
Verify the connection
Verify destination needs at least one table. With no tables chosen, the button reads Test connection. A passing test shows this message:
Connection works. Choose tables to finish verifying the destination.Select Choose tables, pick your tables, then return to Connect Iceberg and select Verify destination.
Some sources, such as S3 and DynamoDB, show a different notice. It names the step to finish before verifying.
Table format
The Table format setting picks the Iceberg version for new tables. It appears on the Connect Iceberg step and on the pipeline’s Destination: Iceberg tab.
It defaults to Iceberg v2, which nearly every engine can read, including Athena, StarRocks, and older Spark and Trino versions. Tables that already have data keep their version. A pipeline on v2 can move to v3 later, once it meets the Iceberg v3 early access requirements. S3 Tables pipelines stay on Iceberg v2.
Iceberg v3 stores deletes as deletion vectors, so updates and deletes write less. Pick it only when every engine that queries these tables supports v3. A table created as v3 can’t go back to v2.
Iceberg v3 early access
Iceberg v3 tables are in early access. They need Artie’s native Iceberg engine, which Artie turns on per pipeline. Contact us to enable it.
Without the native engine, Iceberg v3 can’t be selected. A pipeline saved with v3 and no native engine stops the deploy with this error:
v3 tables need the native Iceberg engine, since Spark can't read them. Set the table format to v2To deploy, set Table format to Iceberg v2.
Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.