[
https://issues.apache.org/jira/browse/SQOOP-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Veena Basavaraj updated SQOOP-1836:
-----------------------------------
Attachment: SQOOP-1836.patch
> Convert the List in Schema Columns to Array for better lookup time
> ------------------------------------------------------------------
>
> Key: SQOOP-1836
> URL: https://issues.apache.org/jira/browse/SQOOP-1836
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-framework
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Labels: newbie
> Fix For: 1.99.5
>
> Attachments: SQOOP-1836.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)