Apache Beam: Partition Transform