Hey there, These features hasn't been implemented yet, but it definitely can be implemented (https://issues.apache.org/jira/browse/SQOOP-1522 to start). If you're interested, I'd ask Richard if you could pick up this Jira.
-Abe On Thu, Sep 3, 2015 at 8:20 PM Adline Dsilva <[email protected]> wrote: > 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. >
