Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-3075

Simplify Unicode character support in source files (introduced by SQOOP-3074) by defining explicit locales instead of using EscapeUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. SQOOP-3075.patch
          4 kB
          Attila Szabo

        Activity

          People

            maugli Attila Szabo
            maugli Attila Szabo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: