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

[Feature] Ignore parts of profile_hash and/or env_var_hash in "is_partial_parsable" when running dbt parse #11004

Open
3 tasks done
bf-samspar opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@bf-samspar
Copy link

bf-samspar commented Nov 15, 2024

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature

Our dbt project's profile.yml references an env_var specifying which snowflake warehouse to use. A change in the variable causes dbt to force a full parse of the project which is really impractical. We can't see that a different warehouse should trigger a full re-parse of the project,

You seem to have pointed this out yourselves previously, so if this part could be improved it would be great:

if self.manifest.state_check.profile_hash != manifest.state_check.profile_hash:

Another alternative would be to allow us to turn of this part by specifying a parameter like "dbt parse --ignore-env-vars".

Describe alternatives you've considered

No response

Who will this benefit?

No response

Are you interested in contributing this feature?

No response

Anything else?

No response

@bf-samspar bf-samspar added enhancement New feature or request triage labels Nov 15, 2024
@bf-samspar bf-samspar changed the title [Feature] Option to ignore profile_hash and/or env_var_hash in "is_partial_parsable" when running dbt parse [Feature] Ignore parts of profile_hash and/or env_var_hash in "is_partial_parsable" when running dbt parse Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant