Skip to content

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

@augusto-herrmann

Description

@augusto-herrmann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions