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] Automatically attempt a full parse before returning a parse error #11042

Open
3 tasks done
siljamardla opened this issue Nov 25, 2024 · 0 comments
Open
3 tasks done
Labels
enhancement New feature or request triage

Comments

@siljamardla
Copy link

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

Feature

Before returning a parse error, always attempt a full parse.

Sample use case

  • Make (significant) changes to source files
  • Work as usual, doing a dbt parse or compile (dbt will do a partial parse)
  • Often enough you'll get an error similar to this:
Compilation Error
  Model 'XXX' (models/XXX.sql) depends on a source named 'YYY.ZZZ' which was not found
  • Delete the target folder or delete the manifest file or do dbt clean && dbt deps to trigger a full parse
  • Parse/Compile again and the error goes away

Experienced dbt users will know what do most of the time, but even they get caught off guard every now and then. Inexperienced dbt users will almost always require support, halting their work process.
At Bolt, this happens almost every week, multiple dbt users get stuck until someone instructs them to trigger a full parse.

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

@siljamardla siljamardla added enhancement New feature or request triage labels Nov 25, 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