get partitions when returning csv