Sqoop
  1. Sqoop
  2. SQOOP-430

Duplicate Column problem with reserved words

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0-incubating
    • Fix Version/s: 1.4.1-incubating
    • Component/s: None
    • Labels:
      None

      Description

      This is a constructed example but given a table with two columns: class and _class we get an error message upon running Sqoop:

      Imported Failed: Duplicate Column identifier specified: '_class

      This happens because the ClassWriter rewrites all columns that are reserved keywords in Java by prepending a "_".

      1. SQOOP-430.patch
        1 kB
        Jarek Jarcec Cecho
      2. SQOOP-430.patch
        2 kB
        Jarek Jarcec Cecho
      3. SQOOP-430.patch
        2 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Lars Francke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development