I am trying to copy a bunch of csv files from S3 to Redshift using RedShiftCopyActivity and datapipeline.
This works fine as long as the csv structure matches the table structure. In my case, csv has fewer columns than the table, and then RedShiftCopyActivity does not work with the error "Delimiter not found" in stl_load_errors.
I would like to use the "columns" command of the copy redshift command. That way I can make it work, but part of the redshift copy command columns is not available in RedShiftCopyActivity.
Are there any suggestions?
All tips are welcome.
Thank you very much in advance.
Peter
source share