Skip to content

Issue 488 snapshot tmp table#489

Open
adam-tokarski wants to merge 3 commits intostarburstdata:masterfrom
adam-tokarski:issue_488_snapshot_tmp_table
Open

Issue 488 snapshot tmp table#489
adam-tokarski wants to merge 3 commits intostarburstdata:masterfrom
adam-tokarski:issue_488_snapshot_tmp_table

Conversation

@adam-tokarski
Copy link
Copy Markdown

Overview

resolves #488

PR proposes a custom version of build_snapshot_staging_table macro. It basically does one additional thing - tries to remove staging table just before creating it. This should allow to avoid situation where there was an error in further step and now it fails, during another run of dbt snapshot, on fact that this staging table already exists.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • README.md updated and added information about my change
  • I have run changie new to create a changelog entry

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.

[snapshot] temporary table for snapshot internal source is persistent on merge fail

1 participant