Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

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 postgres and mysql dialects are supported).
  • A database user with SELECT, INSERT, UPDATE, DELETE, and (unless catalog tables are pre-created) CREATE TABLE privileges on the catalog database.
  • A Warehouse location URI matching your object storage backend (s3://, s3a://, gs://, or abfss://) and its credentials (see Object storage backends).

Setup

  1. 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.

  2. 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 5432 for PostgreSQL and 3306 for 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 to sql if left empty.
  3. Configure TLS verification

    Artie encrypts SQL catalog connections with verified TLS by default (sslmode=verify-full for PostgreSQL, tls=true for 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.

  4. 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

Was this page helpful?