MapReduce query for finding the maximum value in an unstructured data set