uniform¶
Description¶
Generates a uniformly-distributed pseudo-random number in the inclusive range [min, max].
Return type¶
numeric
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
uniform(min, max)
| Argument | Type | Optional | Repeatable | Restrictions | 
|---|---|---|---|---|
| min | numeric | no | no | constant | 
| max | numeric | no | no | constant | 
Examples¶
make_col uniform_kind:uniform(1, 20)
Generates a uniformly-distributed pseudo-random number in the inclusive range [1, 20].