Skip to content

fix: add 'ducklake prefix if not present#4941

Merged
eakmanrq merged 1 commit intomainfrom
eakmanrq/ducklake_add_prefix
Jul 9, 2025
Merged

fix: add 'ducklake prefix if not present#4941
eakmanrq merged 1 commit intomainfrom
eakmanrq/ducklake_add_prefix

Conversation

@eakmanrq
Copy link
Collaborator

@eakmanrq eakmanrq commented Jul 9, 2025

Follow up to #4913

Documentation consistently shows including 'ducklake in the path: https://ducklake.select/docs/stable/duckdb/usage/choosing_a_catalog_database

It seems like if you exclude it from the path but included the type then it would also work. If you include both though you would get an error. Therefore since the last PR excluded it from TYPE we had some users not include it in the path and had an error.

This PR ensures the 'ducklake prefix is always there if the type of "ducklake" is provided.

Copy link
Contributor

@themisvaltinos themisvaltinos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we maybe also update the docs/integrations/engines/duckdb.md docs to have in the ducklake examples the prefix

@eakmanrq
Copy link
Collaborator Author

eakmanrq commented Jul 9, 2025

should we maybe also update the docs/integrations/engines/duckdb.md docs to have in the ducklake examples the prefix

Now with this change I think we can leave it as is. That would have been useful in previous PR though (if I had known users weren't defining it).

@eakmanrq eakmanrq merged commit dd73bb7 into main Jul 9, 2025
27 checks passed
@eakmanrq eakmanrq deleted the eakmanrq/ducklake_add_prefix branch July 9, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants