Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
fromColNameIndexMap = new HashMap<String, Integer>(); int fromIndex = 0; for (Column fromCol : getFromSchema().getColumnsList()) { fromColNameIndexMap.put(fromCol.getName(), fromIndex); fromIndex++; }
we can clean this code up, since this index map is already in schema now, since e needed it for JSON and Avro IDF