Veena Basavaraj created SQOOP-2007:
--------------------------------------

             Summary: Schema NameMatcher cleanup
                 Key: SQOOP-2007
                 URL: https://issues.apache.org/jira/browse/SQOOP-2007
             Project: Sqoop
          Issue Type: Sub-task
            Reporter: Veena Basavaraj


{code}
 fromColNameIndexMap = new HashMap<String, Integer>();
    int fromIndex = 0;

    for (Column fromCol : getFromSchema().getColumnsList()) {
      fromColNameIndexMap.put(fromCol.getName(), fromIndex);
      fromIndex++;
    }
{code}

we can clean this code up, since this index map is already in schema now, since 
e needed it for JSON and Avro IDF



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to