CORE: add partition, partition-by.