DuckLake
Connect & Ingest data from / to a DuckLake database
Last updated
Connect & Ingest data from / to a DuckLake database
Last updated
DuckLake is a data lake format specification that combines the power of DuckDB with flexible catalog backends and scalable data storage. It provides versioned, ACID-compliant tables with support for multiple catalog databases and various storage backends. See for more details.
The following credentials keys are accepted:
catalog_type
(required) -> The catalog database type: duckdb
, sqlite
, postgres
, or mysql
. Default is duckdb
.
catalog_conn_string
(required) -> The connection string for the catalog database. See for details. Examples:
postgres: dbname=ducklake_catalog host=localhost
sqlite: metadata.sqlite
mysql: db=ducklake_catalog host=localhost
catalog_schema
(optional) -> The schema to use to store catalog tables (e.g. public
).
data_path
(optional) -> Path to data files (local, S3, Azure, GCS). e.g. /local/path
, s3://bucket/data
, r2://bucket/data
, az://container/data
, gs://bucket/data
.
schema
(optional) -> The default schema to use to read/write data. Default is main
.
For S3/S3-compatible storage:
s3_access_key_id
(optional) -> AWS access key ID
s3_secret_access_key
(optional) -> AWS secret access key
s3_session_token
(optional) -> AWS session token
s3_region
(optional) -> AWS region
s3_profile
(optional) -> AWS profile to use
s3_endpoint
(optional) -> S3-compatible endpoint URL (e.g. http://localhost:9000
for MinIO)
For Azure Blob Storage:
azure_account_name
(optional) -> Azure storage account name
azure_account_key
(optional) -> Azure storage account key
azure_sas_token
(optional) -> Azure SAS token
azure_tenant_id
(optional) -> Azure tenant ID
azure_client_id
(optional) -> Azure client ID
azure_client_secret
(optional) -> Azure client secret
azure_connection_string
(optional) -> Azure connection string
For Google Cloud Storage:
gcs_key_file
(optional) -> Path to GCS service account key file
gcs_project_id
(optional) -> GCS project ID
gcs_access_key_id
(optional) -> GCS HMAC access key ID
gcs_secret_access_key
(optional) -> GCS HMAC secret access key
sling conns
Here are examples of setting a connection named DUCKLAKE
. We must provide the type=ducklake
property:
See to learn more about the sling env.yaml
file.
If you are facing issues connecting, please reach out to us at , on or open a Github Issue .