pyflink.table.expressions.rand_integer#
- rand_integer(bound: Union[int, pyflink.table.expression.Expression[int]], seed: Optional[Union[int, pyflink.table.expression.Expression[int]]] = None) pyflink.table.expression.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.
New in version 1.12.0.