make a special case for when there is just one partition to query