sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adline Dsilva <adline.dsi...@mimos.my>
Subject SQOOP2 : delimter option for JDBC connector
Date Fri, 04 Sep 2015 03:20:43 GMT
Hi,

   Is there any way to remove/replace delimiters in sqoop2 with Generic JDBC connector.

   Currently Sqoop1 has option

--input-enclosed-by <char>      Sets a required field encloser
--input-escaped-by <char>       Sets the input escape character
--input-fields-terminated-by <char>     Sets the input field separator
--input-lines-terminated-by <char>      Sets the input end-of-line character
--input-optionally-enclosed-by <char>   Sets a field enclosing character


--hive-drop-import-delims       Drops \n, \r, and \01 from string fields when importing to
Hive.
--hive-delims-replacement       Replace \n, \r, and \01 from string fields with user defined
string when importing to Hive.




  Is there any similar option in sqoop2. Or anyway to implement this feature



Thanks & Regards,

Adline

________________________________
DISCLAIMER:


This e-mail (including any attachments) is for the addressee(s) only and may be confidential,
especially as regards personal data. If you are not the intended recipient, please note that
any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited.
If you have received this email in error, please notify the sender immediately and delete
the original message (including any attachments).

MIMOS Berhad is a research and development institution under the purview of the Malaysian
Ministry of Science, Technology and Innovation. Opinions, conclusions and other information
in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries
shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries
and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability
arising from or in connection with computer viruses and/or corrupted e-mails is excluded to
the fullest extent permitted by law.

Mime
View raw message