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

Sqoop2: Support custom form name via the Form Annotation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.4
    • 1.99.4
    • None

    Description

      Form names and input names are currently derived from the configuration property name that they exist in (example 1). It would be nice if custom names could be provided so that the property names could remain simple.

      Example 1:
      The derived form name for the "table" property in the configuration object below is "table".

      @ConfigurationClass
      public class FromJobConfiguration {
        @Form public TableForm table;
        ...
      }
      

      Example 2:
      The form name for the "table" member in the the configuration object below is "from-table".

      @ConfigurationClass
      public class FromJobConfiguration {
        @Form(name="from-table")
        public TableForm table;
        ...
      }
      

      Attachments

        1. SQOOP-1436.1.patch
          28 kB
          Abraham Elmahrek
        2. SQOOP-1436.patch
          28 kB
          Veena Basavaraj

        Issue Links

          Activity

            People

              vybs Veena Basavaraj
              abec Abraham Elmahrek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: