<#2497 feat: Allow target implementations to overr...
# meltano-repo-activity
g
#2497 feat: Allow target implementations to override the `overwrite` implementation for `load_method` Issue created by edgarrmondragon ### Feature scope Targets. ### Description The
DROP TABLE
DDL lives upstream in sdk/singer_sdk/connectors/sql.py Line 783 in</meltano/sdk/commit/36c620cf9e89c359c8caa4ec773c7f3b4eb9394c|36c620c> | self.get_table(full_table_name=full_table_name).drop(self._engine) | | ------------------------------------------------------------------ | 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
. https://meltano.slack.com/archives/C069A0GE129/p1718915162902379 meltano/sdk