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

Can't import columns with name "default"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • codegen
    • None

    Description

      sqoop fails to generate a proper class for tables with a column named default. Possible reason: default is not included in JAVA_RESERVED_WORDS in ClassWriter.java.
      Reproduce by:
      1. Create table with column named default
      2. Attempt to import table.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jvorenkamp Jason Vorenkamp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: