We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Data with backslash not loaded to vertica while copying from hdfs — Vertica Forum

Data with backslash not loaded to vertica while copying from hdfs

I am trying to load data from hdfs using copy from hdfs. Some of the records contain backslash and they are not loaded. e.g.

2004-01-21|1243|11111|||C MXXAXE|GXEN MXCAXE\|123 

 

I tried using Escape as '\', but that also doesn't work.  Also tried all the below options.

 

DELIMITER '|'   RECORD TERMINATOR E'\EOL\n'  ESCAPE AS '\' DIRECT"

DELIMITER '|'   RECORD TERMINATOR E'\EOL\n'  ESCAPE AS '\\' DIRECT"

DELIMITER '|'   RECORD TERMINATOR E'\EOL\n'  ESCAPE AS E'\' DIRECT"

 

 

Please help resolve it. 

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file