Hi,
I have my data inside hive table which has multiple delimiter(#|) and now wanted to export this data to my sql using sqoop. I have tried several options but sqoop does not support multi-delimiter. One of the field is the name field that contains special character. So to avoid using single special character, have used double special character as delimiter.
Is there way in Sqoop to export with multiple delimiter? The sqoop job creates a JAVA where the delimiters are specified as char. Can I modify this JAVA file with modified delimiter(string) and use in sqoop? Please advice how this can be done.
Also, incase if I am using enclosed by(#) and field terminated by(|) in hive and I sqoop that data, how will the data which has (|) as part of data be handled? e.g #12345#|#ABC|def#
Thank you.