[
https://issues.apache.org/jira/browse/SQOOP-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277214#comment-14277214
]
Veena Basavaraj commented on SQOOP-2011:
----------------------------------------
I think have a array is better since the object array implementation benefits
with the one-one mapping. Array has no performance hit with look up time.
> Schema should expose columns in array or list and not both
> ----------------------------------------------------------
>
> Key: SQOOP-2011
> URL: https://issues.apache.org/jira/browse/SQOOP-2011
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Veena Basavaraj
> Fix For: 2.0.0
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)