duckdb / dbt-duckdb

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

Specify format for external models globally #387

Closed sergun closed 7 months ago

sergun commented 7 months ago

How to specify globally in yml configs (not in *.sql files) format (e.g. format="json") to be used for external models ?

jwills commented 7 months ago

Does this not work? https://docs.getdbt.com/reference/model-configs

sergun commented 7 months ago

@jwills Thanks! Yes, it does.

Sorry, it was my mistake. Configurations like:

models:
  hc:
    +materialized: external
    format: json

in dbt_project.yml work perfectly.