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

always delete the __dbt_tmp relation if exists #511

Merged
merged 2 commits into from
Aug 21, 2017

Conversation

drewbanin
Copy link
Contributor

@drewbanin drewbanin commented Aug 17, 2017

  • added a helper macro for dropping relations
  • always drop __dbt_tmp relations if they exists

This caused problems if a previous run abandoned __dbt_tmp relations. You'd either need to drop the whole schema or manually delete each relation, which is tedious

@drewbanin drewbanin modified the milestone: 0.9.0 rc-1 Aug 17, 2017
Copy link
Member

@cmcarthur cmcarthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@drewbanin drewbanin merged commit 130d8d2 into development Aug 21, 2017
@drewbanin drewbanin deleted the always-delete-__dbt_tmp branch August 21, 2017 21:56
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

Successfully merging this pull request may close these issues.

2 participants