-
Notifications
You must be signed in to change notification settings - Fork 716
Closed
Labels
enhancementNew feature or requestNew feature or requestminor releaseWill be addressed in the next minor releaseWill be addressed in the next minor releaseready to release
Milestone
Description
Is your idea related to a problem? Please describe.
Currently, if there are no exceptions when calling awswrangler.redshift.to_sql
then commit is automatically done:
It makes it impossible to use awswrangler.redshift.to_sql
as a part of a transaction which e.g. writes multiple tables, because if one of the transaction steps fails, you cannot rollback all the changes, just the last one.
Describe the solution you'd like
Additional parameter for awswrangler.redshift.to_sql
to disable final commit, but keeping True
as default: commit: bool = True
.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestminor releaseWill be addressed in the next minor releaseWill be addressed in the next minor releaseready to release