Skip to content

Commit

Permalink
redshift destination improvement airbytehq#1
Browse files Browse the repository at this point in the history
  • Loading branch information
yahu98 committed Aug 30, 2021
1 parent 01b905a commit 87f93f0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public void copyS3CsvFileIntoTable(JdbcDatabase database, String s3FileLocation,
final var copyQuery = String.format(
"COPY %s.%s FROM '%s'\n"
+ "CREDENTIALS 'aws_access_key_id=%s;aws_secret_access_key=%s'\n"
+ "CSV REGION '%s' TIMEFORMAT 'auto';\n",
+ "CSV REGION '%s' TIMEFORMAT 'auto'\n"
+ "STATUPDATE OFF;\n",
schema,
tableName,
s3FileLocation,
Expand Down

0 comments on commit 87f93f0

Please sign in to comment.