amazon web services - Amzon Copy Command -


i trying add encoding shortcut amazon redshift copy command taken here. copy command

 copy tier2.personloginactivity (personid,logindatetime,timespentonsite) 's3://imdb-ftp-development/tier2.text.csv' credentials 'aws_access_key_id=dsdsdsdsdsdsd;aws_secret_access_key=dsdsdsdsdsds'  delimiter ','  ignoreheader 1 encoding 'utf-8'; 

the encoding portion giving me error. can u please help.

per doc http://docs.aws.amazon.com/redshift/latest/dg/r_copy.html:

valid values file_encoding follows: utf8 utf16 utf16le utf16be

so need remove dash.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -