Currently the int_hubspot__deals_enhanced (and downstream models) are dependent on the following variables: ['hubspot_sales_enabled','hubspot_deal_enabled']. However, the intermediate model uses the owner source and the hubspot_owner_enabled variable should also be incorporated in the enable/disablement of the model(s)
Relevant error log or model output
Partial parse save file not found. Starting full parse.
14:15:19
Encountered an error:
Compilation Error in model int_hubspot__deals_enhanced (models/sales/intermediate/int_hubspot__deals_enhanced.sql)
Model 'model.hubspot.int_hubspot__deals_enhanced' (models/sales/intermediate/int_hubspot__deals_enhanced.sql) depends on a node named 'stg_hubspot__owner' which is disabled
Expected behavior
The models run properly even if the owner source is not included in the source schema.
Is there an existing issue for this?
Describe the issue
Currently the int_hubspot__deals_enhanced (and downstream models) are dependent on the following variables:
['hubspot_sales_enabled','hubspot_deal_enabled']
. However, the intermediate model uses theowner
source and thehubspot_owner_enabled
variable should also be incorporated in the enable/disablement of the model(s)Relevant error log or model output
Expected behavior
The models run properly even if the
owner
source is not included in the source schema.dbt Project configurations
Package versions
What database are you using dbt with?
bigquery
dbt Version
1.3.2
Additional Context
We should also check if there are other variables that need to be considered across the other intermediate/end models.
Are you willing to open a PR to help address this issue?