Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1986 Sqoop2: Schema matching improvements
  3. SQOOP-2011

Schema should expose columns in array or list and not both

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • 2.0.0
    • None
    • None

    Description

      it is asking for trouble to store the schema columns in array and expose a list. the matching code currently uses LIST and it can completely use the array and work with it. In all places in IDF code we use the column array via the index.

      Array is preferred since it is easier to walk thorugh the object array format, there is one-one correspondence between the two with indexes

      http://eclipsesource.com/blogs/2014/04/11/3-good-reasons-to-avoid-arrays-in-java-interfaces/

      Please read the UPDATE section in the above link We really do not need the abilities of a list, we know the only reason we will use schema columns is read only.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vybs Veena Basavaraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: