duckdb / dbt-duckdb

dbt (http://getdbt.com) adapter for DuckDB (http://duckdb.org)
Apache License 2.0
790 stars 70 forks source link

Fix: MotherDuck token from plugin config should override env var #335

Closed guenp closed 4 months ago

guenp commented 4 months ago

This PR fixes a bug:

The PR also addresses how a user can pass the MotherDuck token to duckdb.connect:

So the behavior is now the same as in duckdb: env var < path < config. (where left < right means "right overrides left").

guenp commented 4 months ago

All checks are green: https://github.com/motherduckdb/dbt-duckdb/actions/runs/7909652885/job/21591671925

After we merge this we should be OK to release! 🎉