sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1174) Do not use null character (\000) as a default enclose and escape by character
Date Wed, 14 Aug 2013 22:39:48 GMT
Jarek Jarcec Cecho created SQOOP-1174:
-----------------------------------------

             Summary: Do not use null character (\000) as a default enclose and escape by
character
                 Key: SQOOP-1174
                 URL: https://issues.apache.org/jira/browse/SQOOP-1174
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.4
            Reporter: Jarek Jarcec Cecho


Sqoop is currently using null character (ascii 0, \000) as a default enclose and escape by
character ([code|https://github.com/apache/sqoop/blob/trunk/src/java/org/apache/sqoop/lib/DelimiterSet.java#L67]).
This makes importing of values that includes null characters quite complicated as they will
be on first sight randomly removed.  User do have workaround of specifying {{--input-optionally-enclosed-by
"$" --input-escaped-by "$"}} (where {{$}} represents character that is not present in data),
but this might be quite tricky if all the characters are allowed in the data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message