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

Can't import columns with name "public"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.4
    • 1.4.5
    • codegen
    • 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

        1. bugSQOOP-1170.patch
          12 kB
          Erik Selin

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: