Sqoop
  1. Sqoop
  2. SQOOP-1170

Can't import columns with name "public"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.5
    • Component/s: codegen
    • Labels:
      None

      Description

      sqoop fails to generate a proper class for tables with a column named public. Possible reason: public is not included in JAVA_RESERVED_WORDS in ClassWriter.java.

      Reproduce by:
      1. Create table with column named public
      2. Attempt to import table.

        Issue Links

          Activity

          Erik Selin created issue -
          Erik Selin made changes -
          Field Original Value New Value
          Affects Version/s 1.3.0 [ 12317344 ]
          Affects Version/s 1.4.0-incubating [ 12317345 ]
          Affects Version/s 1.4.1-incubating [ 12318902 ]
          Affects Version/s 1.4.2 [ 12320141 ]
          Affects Version/s 1.4.3 [ 12322644 ]
          Erik Selin made changes -
          Attachment bugSQOOP-1170.patch [ 12598647 ]
          Erik Selin made changes -
          Remote Link This issue links to "review request (Web Link)" [ 12518 ]
          Erik Selin made changes -
          Attachment bugSQOOP-1170.patch [ 12599871 ]
          Erik Selin made changes -
          Attachment bugSQOOP-1170.patch [ 12598647 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Eric Wadsworth [ wad ]
          Fix Version/s 1.4.5 [ 12324765 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Eric Wadsworth
              Reporter:
              Erik Selin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development