title: Computing rank of a row
body: <p>I want to rank user id based on one field. For the same value of the field, rank should be same. That data is in Hive table.</p>
  
  <p>e.g.</p>
  
  <pre><code>user value
  a       5
  b       10
  c       5
  d       6
  
  Rank
  a - 1
  c - 1
  d - 3
  b - 4
  </code></pre>
  
  <p>How can i do that?</p>