}
}
SimpleColumn replacedColumn = that.columns.get(index2-1);
SimpleColumn replacedBy = this.columns.get(index1-1);
attributesOrderInExpanded.replace(replacedColumn, replacedBy);
}
return new Relation(namesRelations, null, joined, attributesOrder, attributesOrderInExpanded);
}