title: How can I find the Maximum Year in a given dataset using PIG?
body: <p>Suppose I have the following dataset :-</p>
  
  <pre><code>Year Temp
  
  1974 48
  1974 48
  1991 56
  1983 89
  1993 91
  1938 41
  1938 56
  1941 93
  1983 87
  </code></pre>
  
  <p>I want my final answer to be 93 ( Pertaining to the year 1941). I am able to find the Maximum temperature for each year(Say 1941-93) but unable to find only the maximum. Any suggestions are appreciated. </p>
  
  <p>Thanks,</p>