Douglas Paulo
06/20/2024, 8:26 PMEdgar Ramírez (Arch.dev)
06/21/2024, 10:41 AMDROP
DDL lives upstream in https://github.com/meltano/sdk/blob/36c620cf9e89c359c8caa4ec773c7f3b4eb9394c/singer_sdk/connectors/sql.py#L783.
I'd review a PR to refactor SQLConnector.prepare_table
so that the if self.config["load_method"] == TargetLoadMethods.OVERWRITE
branch uses a method that specific implementations (like target-snowflake) can override to use different DDL, e.g. TRUNCATE
.Edgar Ramírez (Arch.dev)
06/21/2024, 11:00 AM