I am loading data from file in S3 using copy into command and have following parameters:
file_format = (
type = 'csv'
field_delimiter = '~'
FIELD_OPTIONALLY_ENCLOSED_BY= '"'
EMPTY_FIELD_AS_NULL = TRUE
NULL_IF=""
ESCAPE_UNENCLOSED_FIELD = None)
My load is breaking every time I have double-quote inside a field. I tried to replace it by escape \" and adding escape = '\' to the file format parameters, but nothing seems to work. Can someone offer a solution?
Thank you,
ESCAPE='\\'
? (With double slashes.) – waldente