Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-430

Duplicate Column problem with reserved words

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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 "_".

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: