You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Viktor Gerdin (JIRA)" <ji...@apache.org> on 2016/12/27 13:47:58 UTC
[jira] [Commented] (SQOOP-1174) Do not use null character (\000) as
a default enclose and escape by character
[ https://issues.apache.org/jira/browse/SQOOP-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15780434#comment-15780434 ]
Viktor Gerdin commented on SQOOP-1174:
--------------------------------------
Is anything being done about this bug? It is quite old and major.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)