简体   繁体   中英

How to load redshift table from amazon s3 bucket excel file using copy commands?

In my S3 bucket I have .xls file (this file is grouped file, I mean first 20 row having some image and some extract details about client).

So first I want to convert .xls into .csv then I load Redshift table through copy commands and ignore first 20 rows also.

Note: I manualy save as .xls into .csv then I try to load Redshift table through copy commands is successfully loaded. Now my problem is how to convert .xls into .csv through Pentaho jobs.

You can convert excel to csv by using transformation with just two steps inside:

  1. Microsoft Excel input - it should read rows from your excel file
  2. Text file output - it saves rows from step 1 to csv file

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM