-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new DuckDB Secrets manager #403
Conversation
Note that |
@guenp wanted to clarify the issue with the glue plugin; one could still specify the necessary S3 info in the |
Yes, that's right, because I've deprecated the Additionally, if people do specify the |
Ah so this wouldn't be backwards compatible, then-- folks would need to cut over to the new way. I'm assuming there's got to be a similar deprecation schedule for upstream DuckDB, right? |
Upstream DuckDB has named it "legacy authentication scheme for S3 API", but not sure what the deprecation schedule looks like: https://duckdb.org/docs/extensions/httpfs/s3api_legacy_authentication.html
Couple questions just to make sure:
|
This is actually incorrect, I checked and I'm going to move forward with making |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good @guenp, thank you so much for doing it-- couple of substantive questions on deps and supporting additional types of secrets and their settings going forward to noodle on
@@ -39,7 +39,7 @@ def _dbt_duckdb_version(): | |||
install_requires=[ | |||
"dbt-common>=1,<2", | |||
"dbt-adapters>=1,<2", | |||
"duckdb>=0.7.0,!=0.10.3", | |||
"duckdb>=0.10.0,!=0.10.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering when we want to simply require >= 1.0.0? Is this materially different than that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also a little mentally fuzzy on how I should do minor/major version updates for adapters like dbt-duckdb since in theory we are now de-coupled from dbt-core versions via the dbt-adapters interface /cc @dbeatty10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chiming in here from adapters, you are totally free to version as you see fit. We generally recommend that major version bumps reflect major changes to the adapter and should therefore be reserved. Minor versions should reflect meaningful changes to behavior.
Beyond versioning we do want to encourage adapters to keep it easy for folks to upgrade and to not surprise people with changes. To do that we want to introduce breaking behavioral changes as opt-in with a warning that the default behavior will change in a future version. We are going to be picking up a project in Q3 to add behavior flags to formalize this process. This should provide a framework for adapters to manage the life cycle of these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks Colin, super-helpful context here 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to bump to 1.0.0 in a separate PR, I want to make sure there's a commit that still has 0.10.2 included in case someone turns up with that requirement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR open here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic @guenp -- thank you so much!
This adds support for the new DuckDB secrets manager.
Example usage: