Just to double check, do we care if the getPartitionBy and getDistinctSymbols are the same symbols but in different orders? This currently assumes they need to be in the same order.