duckdb / dbt-duckdb

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

plugin config not recognized #185

Closed mathews closed 1 year ago

mathews commented 1 year ago

$ dbt --version Core:

Plugins:

with profile config as : outputs: local: type: duckdb path: tttttttttt.duckdb threads: 20 plugins:

- module: models_func.funcs.dbt_duckdb_plugin.ModelsShopDuckdbUdfPlugin

    - module: gsheet
      config:
        method: oauth

dbt build will throw error: 02:18:10 Running with dbt=1.5.1 02:18:10 Encountered an error: Runtime Error Credentials in profile "models_shop", target "local" invalid: [{'module': 'gsheet', 'config': {'method': 'oauth'}}] is not valid under any of the given schemas

mathews commented 1 year ago

the dbt-duckdb package from pypi.org is poisonous, just not working. after building wheel from the main branch, and installed the wheel, it works. Thanks quite a lot for such a great work.

jwills commented 1 year ago

yeah, sorry about that-- I didn't document the plugin stuff for 1.5.1 because I didn't feel like I had gotten it quite right yet, and the stuff that is in there is pretty half-baked and broken. I'll cut a new release shortly with the latest stuff on master (that sounds like it worked for you?)