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

Sqoop2: Convert the List in Schema Columns to Array for better lookup time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.99.5
    • sqoop2-framework

    Description

      see comments in the https://reviews.apache.org/r/28636/

      Most times we will need to index the column array when extracting and loading. So it is good perf improvement to store it as array as per jarcec

      https://github.com/apache/sqoop/blob/sqoop2/common/src/main/java/org/apache/sqoop/schema/Schema.java#L62

      Clean up all places where toArray is done and move this to this to the Schema class itself.

      Attachments

        1. SQOOP-1836.patch
          7 kB
          Veena Basavaraj

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: