Redshift Unload to S3 End of Line Encoding Type

0

Hi

We currently have data produced in redshift which we are unloading as CSVs to s3 for it to be transferred via sFTP to an external client for processing.

In these CSV's, the line end is UNIX format, just LF, which doesn't work with the clients program. We instead want our CSVs to be produced in S3 having the DOS format, a CRLF line end instead.

Is this possible in the unload function? If not, is there a point in the pipeline where the conversion can happen easily? Maybe in the meta data of the s3 file, or with a conversion on a lambda function?

Thank you

1回答
0

The Redshift UNLOAD currently does not provide options for choosing LF or CRLF. But with S3 trigger you can invoke Lambda function to execute script for Unix to Dos conversion.

profile pictureAWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ