Modified rpc get_subpartitions