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

Can't import columns with name "public"

    Details

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: