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

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -