split by partitions
Split by partitions