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: Add rollback support for overwrite load method #1956

Open
pnadolny13 opened this issue Sep 13, 2023 · 0 comments · May be fixed by #1941
Open

feat: Add rollback support for overwrite load method #1956

pnadolny13 opened this issue Sep 13, 2023 · 0 comments · May be fixed by #1941

Comments

@pnadolny13
Copy link
Contributor

Originally driven by #1783 which was closed by #1893 but doesnt have safe backup/rollback support for the overwrite method.

The current status of this is described in #1893 (comment) and a draft PR is in #1941.

The overwrite load method currently drops the table before attempting to load so if the sync fails then the user is left with an empty table (or no table if recreate fails). This issue is to create a workflow to:

  • alter existing table to back it up instead of dropping it
  • attempt to recreate the table and load the new data
  • if success, delete the back up table
  • if failed, delete the new table and rename the backup table to the original name
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 a pull request may close this issue.

1 participant