-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
I'm trying to connect to existing ducklake, with metadata.ducklake as duckdb metadata catalog:
type: connector
driver: duckdb
init_sql: |
LOAD ducklake;
CREATE SECRET (
TYPE R2,
KEY_ID '<redacted>',
SECRET '<redacted>',
ENDPOINT '<redacted>.r2.cloudflarestorage.com',
URL_STYLE 'path',
USE_SSL 1
);
ATTACH 'ducklake:metadata.ducklake' AS lake;and get error:
failed to create model:
Binder Error: Failed to attach DuckLake MetaData "__ducklake_metadata_lake" at path + "metadata.ducklake"Unique file handle conflict:
Cannot attach "__ducklake_metadata_lake" - the database file "metadata.ducklake" is already attached by database "__ducklake_metadata_lake"
If I execute the "init_sql" stetement in duckdb cli, I can query the catalog fine SELECT * FROM lake.measurements
I tried many other approaches while none worked.
Is this maybe not supported?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels