One Star

tRedshiftBulkExec - how to define column order

Hallo,
is there a way to define the order of the columns when loading a csv from S3 to Redshift using tRedshiftBulkExec component?
The Redshift command would be COPY (column1, column2 ...) FROM 's3://mybucket/mycsvfile.csv'. I would like to find in Talend the way to define (column1,column2...)
1 REPLY
Moderator

Re: tRedshiftBulkExec - how to define column order

Hi,
Could you please take a look at settings for "Parameter" and "Value" in advanced setting of tRedshiftBulkExec component? Which can be used to specify more parameters for loading the data.
For more information, please refer to doc:http://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.