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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.99.5
    • Component/s: sqoop2-framework
    • Labels:

      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 Jarek Jarcec Cecho

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: