Skip to content
GUIDE

Connecting to DuckLake

The ways Coco Alemana can connect to a DuckLake — from a local file to a remote catalog backed by object storage.

A DuckLake keeps two things separate:

  • A catalog — the metadata that tracks tables, schemas, and snapshots.
  • Data files — the actual rows, stored as Parquet.

Coco Alemana connects to both, and supports a specific set of options for each.

The catalog is the database that stores the DuckLake metadata. Coco Alemana supports:

  • DuckLake — a DuckLake catalog file (a .ducklake file).
  • Postgres — a PostgreSQL database.

The data files hold the actual rows. Coco Alemana supports:

  • Local — data files on your Mac.
  • Amazon S3 — data files in an S3 bucket.

The simplest setup uses a DuckLake catalog with Local data files, so the whole DuckLake lives on your Mac as a single .ducklake file. No account is required — you just open the file.

  1. Open the .ducklake file from Finder, or through Coco Alemana’s load-data sheet.
  2. Choose the table you want to explore.

Placeholder: opening a local DuckLake file

A remote DuckLake keeps its catalog in a database and its data files in object storage. In practice this means a Postgres catalog with Amazon S3 data files. Connect each one once, then add the DuckLake.

Add the Postgres account under External Accounts.... See Connect to Postgres.

Placeholder: connecting the DuckLake catalog

Add the Amazon S3 account the same way. See Connect to AWS.

Placeholder: connecting the DuckLake data storage

Once the catalog and storage are connected, add the DuckLake itself. Coco Alemana lists its tables and snapshots so you can start exploring.

Placeholder: adding a DuckLake connection