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

Target stream is deleted and recreated even if no schema changes are required #18

Open
nicoweidner opened this issue Apr 13, 2023 · 0 comments

Comments

@nicoweidner
Copy link
Contributor

nicoweidner commented Apr 13, 2023

If

  • the target stream exists when executing dbt run, and
  • changes are detected in the sql script (*),

then both the target stream as well as the pipeline are deleted and recreated - even if the stream schema matches the sql. There should be no need to delete and recreate the stream if the schema matches.

(*) Changes can be as trivial as added whitespace. Maybe this could be an issue in itself, though I am not sure how hard it would be to implement a good solution.

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

1 participant