public Text evaluate() {
    result.set(UUID.randomUUID().toString());
    return result;
  }
Returns a universally unique identifier (UUID) string (36 characters).

@return Text
ql/src/java/org/apache/hadoop/hive/ql/udf/UDFUUID.java