##### Site index · List index
Message view
Top
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/LanguageManual/UDF" by PaulYang
Date Mon, 12 Apr 2010 17:05:13 GMT
```Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/LanguageManual/UDF" page has been changed by PaulYang.

--------------------------------------------------

||BIGINT ||round(double a) ||Returns the rounded BIGINT value of the double ||
||BIGINT ||floor(double a) ||Returns the maximum BIGINT value that is equal or less than
the double ||
||BIGINT ||ceil(double a), ceiling(double a) ||Returns the minimum BIGINT value that is
equal or greater than the double ||
- ||double ||rand(), rand(int seed) ||Returns a random number (that changes from row to row)
that is distributed evenly from 0 to 1. Specifiying the seed will make sure the generated
random number sequence is deterministic. ||
+ ||double ||rand(), rand(int seed) ||Returns a random number (that changes from row to row)
that is distributed uniformly from 0 to 1. Specifiying the seed will make sure the generated
random number sequence is deterministic. ||
||double ||exp(double a) ||Returns e^a where e is the base of the natural logarithm ||
||double ||ln(double a) ||Returns the natural logarithm of the argument ||
||double ||log10(double a) ||Returns the base-10 logarithm of the argument ||

```
Mime
View raw message