naive partition-by