fivetran / dbt_zendesk

Fivetran's Zendesk Support dbt package
https://fivetran.github.io/dbt_zendesk/#!/overview
Apache License 2.0
25 stars 30 forks source link

[Bug] Not able to disable package model of dbt_packages/zendesk_source/models/tmp/ #153

Closed ba5413 closed 4 months ago

ba5413 commented 5 months ago

Is there an existing issue for this?

Describe the issue

I am trying to disable dbt_packages/zendesk_source/models/tmp/stg_zendesk__group_tmp.sql using my root dbt_project.yml file.

I have created my own version of stg_zendesk__group_tmp.sql in my main model directory, but not able to disable the package model; even though I have defined it correctly in my root dbt_project.yml file. ``

Relevant error log or model output

No response

Expected behavior

It should not run dbt package stg_zendeskgroup_tmp model instead only run my main model folder stg_zendeskgroup_tmp

dbt Project configurations

models:
  database: xxxx
  xxx_dbt:
    zendesk_source:
      models:
        stg_zendesk__group:
          +enabled: false
        tmp:  
          stg_zendesk__group_tmp:
            +enabled: false

I have tried so many combination but it doesn't work

Package versions

What database are you using dbt with?

snowflake

dbt Version

1.7

Additional Context

No response

Are you willing to open a PR to help address this issue?

fivetran-jamie commented 5 months ago

hey there @ba5413 -- have you tried this configuration? the only differences are that zendesk_source is not scoped under your xxx_dbt project and i've removed the second models bit

models:
  database: xxxx
  zendesk_source:
    stg_zendesk__group:
      +enabled: false
    tmp:  
      stg_zendesk__group_tmp:
        +enabled: false
fivetran-jamie commented 4 months ago

hey @ba5413 i'm going to close this issue for now as I'm fairly confident the above configuration will do the trick. Please feel free to reopen this issue if otherwise!