title: Is the Hive Rand() function inclusive or exclusive of 0 and 1?
body: <p>The docs for the <a href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-MathematicalFunctions" rel="nofollow noreferrer">Apache Hive Rand() function</a> say</p>
  <blockquote>
  <p>Returns a random number (that changes from row to row) that is distributed uniformly from 0 to 1. Specifying the seed will make sure the generated random number sequence is deterministic.</p>
  </blockquote>
  <p>Can anyone tell me if this is inclusive or exclusive of the endpoints 0 and 1?</p>