sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Szabo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-3075) Simplify Unicode character support in source files (introduced by SQOOP-3074) by defining explicit locales instead of using EscapeUtils
Date Fri, 09 Dec 2016 05:55:58 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Attila Szabo updated SQOOP-3075:
--------------------------------
    Attachment: SQOOP-3075.patch

> Simplify Unicode character support in source files (introduced by SQOOP-3074) by defining
explicit locales instead of using EscapeUtils
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-3075
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3075
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Attila Szabo
>            Assignee: Attila Szabo
>         Attachments: SQOOP-3075.patch
>
>
> Although [SQOOP-3074] achieved that Sqoop won't fail anymore with special characters
even if the locale on the caller system is not UTF-8, there's a simpler solution to do the
same thing, by tuning the compiler + classwriter itself (by adding explicit encodings) instead
of using the StringEscapeUtils#escapeJava mechanism.
> This solution seems simpler, and won't introduce any confusion around generation of Java
identifiers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message