- add a topological rule here to place PARTITIONS after PARTITION_BY,
for output consistency within the tests as well as in practice