pyflink.table.expressions.rand_integer#
- rand_integer(bound: int | Expression[int], seed: int | Expression[int] | None = None) Expression[source]#
Returns a pseudorandom integer value between 0 (inclusive) and the specified value (exclusive) with a initial seed if specified. Two rand_integer() functions will return identical sequences of numbers if they have same initial seed and same bound.
Added in version 1.12.0.