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

Duplicate Column problem with reserved words

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0-incubating
    • 1.4.1-incubating
    • None
    • 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
          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

              jarcec Jarek Jarcec Cecho
              larsfrancke Lars Francke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: