Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable individual tables #54

Open
lijol opened this issue Oct 17, 2022 · 2 comments
Open

Disable individual tables #54

lijol opened this issue Oct 17, 2022 · 2 comments

Comments

@lijol
Copy link
Contributor

lijol commented Oct 17, 2022

I want to disable the below tables from processing. Can you please let me know how to do it ?

  1. stg_stripe__card
  2. stg_stripe__balance_transaction
  3. stg_stripe__fee
  4. stg_stripe__payment_intent
  5. stg_stripe__payout

dbt_project .yml below

  • using_invoices: True #Disable if you are not using the invoice and invoice_line_item tables
  • using_subscriptions: True #Disable if you are not using the subscription and plan tables.
  • using_payment_method: False #Disable if you are not using the invoice and invoice_line_item tables
  • using_credit_notes: False #Disable if you are using the credit note tables.
@fivetran-joemarkiewicz
Copy link
Contributor

Hi @lijol thanks for creating this Issue. Would you be able to provide some more detail around why you are looking to disable these models from running?

Are you only looking to disable the _tmp models, but still run the staging models? Additionally, do you not have the source data within your warehouse for these models to successfully compile?

@lijol
Copy link
Contributor Author

lijol commented Oct 19, 2022

@fivetran-joemarkiewicz apologies for confusion . These are not only specific to temp. We want to disable the whole stg model as these tables and not synced and when we trigger the dbt build the process fails because of source tables not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants