Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The contents of nameList is updated, but it is never queried
List<String> nameList = new ArrayList<>(); for (Column column : columns) { nameList.add(column.alias); } uniqueColumnNames = ImmutableList.copyOf( SqlValidatorUtil.uniquify( Lists.transform(columns, input -> input.alias), true));
julianhyde, should nameList be just removed?
It looks like Lists.transform(columns, input -> input.alias) and nameList are the same thing.