Iceberg
SQL Catalog
Configure a PostgreSQL or MySQL-backed Apache Iceberg SQL catalog as a destination in Artie with S3, GCS, or Azure ADLS storage.
Use an existing PostgreSQL or MySQL database to store Apache Iceberg catalog metadata while writing Parquet data files to Amazon S3, an S3-compatible store, Google Cloud Storage (GCS), or Azure ADLS Gen2. SQL catalogs run on Artie’s native Iceberg engine and support Iceberg v2, Iceberg v3, VARIANT columns, and scheduled table maintenance.
What you’ll need
- A PostgreSQL or MySQL database reachable from your Artie data plane (only
postgresandmysqldialects are supported). - A database user with
SELECT,INSERT,UPDATE,DELETE, and (unless catalog tables are pre-created)CREATE TABLEprivileges on the catalog database. - A Warehouse location URI matching your object storage backend (
s3://,s3a://,gs://, orabfss://) and its credentials (see Object storage backends).
Setup
Select SQL Catalog in Artie
In the Artie dashboard, create a new Iceberg destination and select SQL catalog (PostgreSQL or MySQL) as the catalog type.
Configure the catalog database
Enter the connection settings for your metadata database:
- Catalog database: Choose PostgreSQL (
postgres) or MySQL (mysql). - Host: Database hostname or IP address (do not include
:port). - Port: Defaults to
5432for PostgreSQL and3306for MySQL. - Database: Target database name.
- Username and Password: Credentials for the catalog database (password is encrypted at rest). MySQL usernames cannot contain
:. - Catalog name: Optional logical catalog name stored in the Iceberg catalog tables (
iceberg_tables/iceberg_namespace_properties). Defaults tosqlif left empty.
- Catalog database: Choose PostgreSQL (
Configure TLS verification
Artie encrypts SQL catalog connections with verified TLS by default (
sslmode=verify-fullfor PostgreSQL,tls=truefor MySQL).Keep TLS on Verify certificate. If your database uses a private or cloud-specific certificate authority (such as an AWS RDS CA bundle), paste the PEM-encoded certificate into CA certificate.
Select Skip verification (insecure) (
skip-verify) only for development or self-signed databases where a CA certificate is unavailable. Leave CA certificate empty when skipping verification.Configure object storage and test
Enter your Warehouse location URI and configure your Object storage credentials (see Object storage backends). Select Test connection to verify both the SQL database and object store, then save.
Advanced
Pre-created catalog tables (sqlInitCatalogTables — API only)
By default, Artie initializes Iceberg’s metadata tables (iceberg_tables and iceberg_namespace_properties) if they do not exist. If your database role does not have CREATE TABLE privileges and your DBA pre-creates those tables, set sqlInitCatalogTables: false via the Artie API so Artie skips table initialization on startup.
Custom catalog properties (API only)
Additional non-reserved SQL catalog properties can be passed in the properties map via the Artie API. Reserved credential, URI, and endpoint keys are rejected—see Reserved properties for the full list.
Next steps
- Review storage backend setup in Object storage backends.
- Configure Iceberg v3, partitioning, and scheduled table maintenance in Tuning, partitioning, and maintenance.
Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.