sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2607) Direct import from Netezza and encoding
Date Fri, 09 Oct 2015 18:58:05 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951001#comment-14951001

ASF subversion and git services commented on SQOOP-2607:

Commit 5d8152eac846c30a87e327ec401c9403020620a5 in sqoop's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=5d8152e ]

SQOOP-2607: Direct import from Netezza and encoding

(Benjamin BONNET via Jarek Jarcec Cecho)

> Direct import from Netezza and encoding
> ---------------------------------------
>                 Key: SQOOP-2607
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2607
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors
>    Affects Versions: 1.4.6
>            Reporter: Benjamin BONNET
>         Attachments: 0001-Add-a-table-encoding-parameter-for-Netezza-direct-im.patch
> Hi,
> I encountered an encoding issue while importing a Netezza table containing ISO-8859-15
encoded VARCHAR. Using direct mode, non ASCII chars are corrupted. That does not occur using
non-direct mode.
> Actually, direct mode uses a Netezza "external table", i.e. it flushes the table into
a stream using "internal" encoding (in my case, it is ISO-8859-15).
> But Sqoop import mapper reads this stream as an UTF-8 one.
> That problem does not occur using non direct mode since it uses Netezza JDBC driver to
map fields directly to Java types (no stream encoding involved).
> To have that issue fixed in my environment, I modified sqood netezza connector and added
a parameter to specify netezza varchar encoding. Default value will be UTF-8 of course. I
will make a pull request on github to propose that enhancement.
> Regards

This message was sent by Atlassian JIRA

View raw message