Skip to content

Commit

Permalink
Added code to handle lable
Browse files Browse the repository at this point in the history
  • Loading branch information
ravikirankatneni committed Feb 19, 2018
1 parent 9ed6abf commit ed29230
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ private void initColumnsInfo( List projectedColumns )
nameToIdMapping.put( upperCaseAlias, index );
}


if (column.getLabel() != null && !nameToIdMapping.containsKey(column.getLabel())) {
nameToIdMapping.put(column.getLabel(), index);
}

List<String> labels = column.getLabels( );
if (labels != null) {
for (String label : labels) {
Expand Down

0 comments on commit ed29230

Please sign in to comment.