}
private ColumnExpression expressionFromColumn(Column col, TableSource source) {
if (source == null) {
Table table = col.getTable();
TableNode node = new TableNode(table, new TableTree());
source = new TableSource(node, true, table.getName().toString());
}
return new ColumnExpression(source, col);
}