generate_schema_name should use the root-project macro definition #801
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Right now, it uses the macro defined in the package itself (usually undefined). That's undesirable, as schemas for models inside of packages can't be configured without duplicating the macro logic inside of the package. See here
Testing
models/local_model.sql
dbt_modules/package_name/models/package_model.sql
macros/generate_schema_name.sql
^ Given the above models and macros, a dbt run should produce the following views:
Currently in dbt, the
package_model
will be built into the schema specified in the active profile.The text was updated successfully, but these errors were encountered: