Implemented function to get hashmap of all partitions in relation