if (!(colDef.getExpression() instanceof Column)) {
throw new RuntimeException(
"if select item is not a plain column an alias should be provided: "
+ colDef);
}
Column column = (Column) colDef.getExpression();
alias = column.getColumnName();
}
attributeNames.put(alias, colDef);
}
}