Closed pblankley closed 3 years ago
Hi @pblankley thanks for opening this issue.
It looks like you are setting the variable within the source package variable configuration, but this configuration is also needed within the transform model (which is why you see the error occurring within the intermediate int_zendesk__organization_aggregates
model.
You can resolve this error by either setting the using_organization_tags
variable globally or within both the source and transform package. You can leverage either of the below configs:
vars:
zendesk_database: designs_for_health
zendesk_schema: dfhzendesk
using_organization_tags: False
or
vars:
zendesk_source:
zendesk_database: designs_for_health
zendesk_schema: dfhzendesk
using_organization_tags: False
zendesk:
zendesk_database: designs_for_health
zendesk_schema: dfhzendesk
using_organization_tags: False
I tested your config locally and received the same error message and saw it resolved with either of the two above configs. Let me know if this ends up working or does not work for you. Thanks!
This worked perfectly! Thanks for the great write up @fivetran-joemarkiewicz 🙌
Are you a current Fivetran customer? Consultant working with Designs for Health
Describe the bug When setting the
using_organization_tags
variable toFalse
I get the following compilation error:Looking at your source code, this may be a dbt issue because it looks like the reference is contained inside of an if statement.
Steps to reproduce
0.6.0
with dbt0.20.1
using_organization_tags: False
indbt_project.yml
dbt run
Expected behavior I expect you'll see this error
Project variables configuration
Package Version
Warehouse
- [ ] BigQuery - [ ] Redshift - [x] Snowflake - [ ] Postgres - [ ] Databricks - [ ] Other (provide details below) **Additional context** **Screenshots**Please indicate the level of urgency If this doesn't work we'll use something else for Zendesk transformation.
Are you interested in contributing to this package?