GitHub user bonnetb opened a pull request:

    https://github.com/apache/sqoop/pull/43

    [SQOOP-3278]:Direct export to Netezza and encoding

    Direct mode used an OutputStream writes to an export file using UTF-8. So, 
if your targeted Netezza uses an ISO encoding, non ASCII chars will be 
corrupted when Netezza loads the export file.
    Using an OutputStreamWriter and relying on existing 'encoding' extended 
parameter (SQOOP-2607) enables to set the encoding that will be used to write 
the export file.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bonnetb/sqoop SQOOP-3278

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sqoop/pull/43.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #43
    
----
commit bb960e587d9d57fdbba3c96b5c1a467166f95016
Author: Benjamin BONNET <benjamin.bonnet@...>
Date:   2018-01-17T09:10:30Z

    SQOOP-3278:use writer instead of stream and set encoding

commit e65d324d001d538c2f9bdf946aa7865e879f4222
Author: Benjamin BONNET <benjamin.bonnet@...>
Date:   2018-01-17T09:11:19Z

    remove useless imports

----


---

Reply via email to