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

In DbToDbOperator, using destination_truncate should only truncate after a successful load #196

Open
augusto-herrmann opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@augusto-herrmann
Copy link
Member

When using the destination_truncate=True argument of DbToDbOperator, the operator first erases all data from the table, then tries to load. If the load is unsuccessful, data is lost. Data should be first loaded on a temporary table. Only after success should the old data be truncated.

@augusto-herrmann augusto-herrmann added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant