Combining operatorsSort, Project, and UniqueProject earlyIf we are sorting on [a, b, c] and then projecting on the same columns, then why not project early? No need to carry around all the other columns that are just going to be eliminated. So, generalize Sort:
|