I'm trying to unload the data from Amazon redshift table and then copying the data from s3 file to redshift by using following command.
unload ('select * from abx.xuz where src =\'vpc\'') to 's3://load/2017/' credentials 'aws_access_key_id=******;aws_secret_access_key=*****' allowoverwrite;
copy abc.abxy from 's3://sumo-processed/2017/'
credentials 'aws_access_key_id=XXXX;aws_secret_access_key=YY' NULL AS '\\0' TRUNCATECOLUMNS FILLRECORD maxerror as 255;
But it is not able load all the records. After checking the stl_load_errors table it is showing "Invalid digit, Value '\', Pos 0, Type: Long" error.
How to resolve this error?. SO I can load all recording without skipping?

stl_load_errorstable. Check for columnsraw_lineandraw_field_value- Viki888