Hi Guys, Is there any way to add a prefix to table...
# plugins-general
a
Hi Guys, Is there any way to add a prefix to table name when loading it to target database. Lets say i have table in mysql named "table_1" and i want to load it as "final_table_1" in redshift. Is there any way to achieve that ?
t
That’s usually a feature of specific targets. target-bigquery for example has that ability https://hub.meltano.com/targets/bigquery
a
@taylor , it means we dont have a prefix option for target-redshift ?
yes , its not there. But prefixing a table is much needed feature.
t
You could maybe control it with this config option https://hub.meltano.com/loaders/redshift#schema-mapping
a
@taylor . Thank you so much for the above link. But i can't see any such option in redshift loader
t
Which variant are you using @atif_imam?
a
I am using transferwise variant @taylor
t
Understood - I think this would be something useful to have in the SDK for targets https://gitlab.com/meltano/sdk/-/issues/74