BigQuery
Connect a Google Cloud project to query BigQuery tables directly from the oleander lake via DuckDB.Setup
- Navigate to Settings → Lake and open BigQuery connections.
- Give the connection a name (lowercase letters, numbers, underscores — e.g.
my_bq). - Enter your GCP Project ID.
- Paste your service account JSON. The service account needs
roles/bigquery.dataViewer(or narrower table-level permissions).
Querying
Once connected, every BigQuery table in that project is reachable in DuckDB queries asconnection_name.dataset.table:
Snowflake
Connect a Snowflake account to query your Snowflake tables from the oleander lake. Authentication uses key-pair signing — no passwords are stored.Setup
- Navigate to Settings → Lake and open Snowflake connections.
- Fill in the required fields:
| Field | Description |
|---|---|
| Name | A short identifier for this connection (e.g. prod_sf) |
| Account identifier | Your Snowflake account in orgname-accountname format |
| Username | The Snowflake user to authenticate as |
| Private key | RSA private key in PEM format (the user must have the matching public key registered in Snowflake) |
- Optionally specify a default warehouse, database, and role to scope queries.
Generating a key pair
If you don’t already have a key pair registered with Snowflake:snowflake_key.pem into the Private key field in oleander. The key is stored encrypted.
Querying
Tables are accessible asconnection_name.schema.table in DuckDB:
Snowflake Horizon
Snowflake Horizon is Snowflake’s built-in Iceberg catalog, powered by Polaris. Registering it in oleander gives you full Iceberg REST catalog access — including DuckDB queries, Polars workloads, and Spark jobs — against your Snowflake-managed Iceberg tables.Setup
- Navigate to Settings → Lake and open External catalogs.
- Select Snowflake Horizon as the catalog type.
- Fill in the required fields:
| Field | Description |
|---|---|
| Name | A short catalog name (e.g. sf_horizon) |
| Catalog URI | Your Snowflake account URL, e.g. https://orgname-accountname.snowflakecomputing.com |
| Database | The Snowflake database to expose as an Iceberg catalog |
| Role | The Snowflake role used to access the catalog |
| Cloud provider | aws, gcp, or azure |
| Region | The cloud region your Snowflake account is in |
- Choose an authentication method:
- Personal Access Token (PAT)
- Key-pair
Generate a PAT in Snowflake and paste it into the Secret field. This is the simplest option.
Querying
Once registered, the catalog is available under its name in DuckDB, Polars, and Spark:Credential vending is handled automatically via the Iceberg REST protocol — no S3 or GCS credentials need to be configured manually.