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

feat(FIR-10764): Snapshot support #146

Merged
merged 3 commits into from
Sep 17, 2024
Merged

feat(FIR-10764): Snapshot support #146

merged 3 commits into from
Sep 17, 2024

Conversation

ptiurin
Copy link
Collaborator

@ptiurin ptiurin commented Sep 11, 2024

Description

This change allows us to use DBT's Snapshot feature. We've been previously blocked by two things: MERGE query and CREATE OR REPLACE TABLE. Former was rewritten for the snapshotting purpose with INSERT and UPDATE queries. The latter was achieved the same way as in table materialisation (which snapshot does not go through).

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.
  • I have run changie new and committed everything in .changes folder
  • I have removed any print or log calls that were added for debugging.
  • I have verified that this PR contains only code changes relevant to this PR.
  • If further integration tests are now passing I've edited tests/functional/adapter/* to account for this.
  • I have pulled/merged from the main branch if there are merge conflicts.
  • After pulling/merging main I have run pytest on the included or updated tests/functional/adapter/.

@ptiurin ptiurin marked this pull request as ready for review September 12, 2024 15:27
@ptiurin ptiurin requested a review from a team as a code owner September 12, 2024 15:27
Copy link

@ptiurin ptiurin merged commit 2babd73 into main Sep 17, 2024
5 checks passed
@ptiurin ptiurin deleted the snapshot-support branch September 17, 2024 11:01
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