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

Configure custom command when using compare changes #318

Open
calleo opened this issue Nov 21, 2024 · 2 comments
Open

Configure custom command when using compare changes #318

calleo opened this issue Nov 21, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@calleo
Copy link

calleo commented Nov 21, 2024

Is your feature request related to a problem? Please describe.

Using Compare Changes, without a custom command, always (almost) causes the comparison to time out, since dbt cloud is trying to compare massive models, row by row.

Describe the solution you'd like

In dbt cloud, I am able to manually set a custom command to limit the amount of models. I want to set this using Terraform.

https://docs.getdbt.com/docs/deploy/job-commands#compare-changes-custom-commands

Describe alternatives you've considered

Setting it manually in dbt cloud.

Additional context

@calleo calleo added the enhancement New feature or request label Nov 21, 2024
@calleo
Copy link
Author

calleo commented Nov 21, 2024

I suspect this is available already in the rest api, using the parameter compare_changes_flags.

https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Create%20Job

@b-per
Copy link
Collaborator

b-per commented Nov 21, 2024

Yes, it is in the process of being rolled out for all customers so we should be able to add it now.

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

No branches or pull requests

2 participants