code: def rand_integer(
      bound: Union[int, Expression[int]],
      seed: Union[int, Expression[int]] = None,
  ) -> Expression:
      """
      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.
      """
      if seed is None:
          return _unary_op("randInteger", bound)
      else:
          return _binary_op("randInteger", seed, bound)
  
imports: from typing import Union
  from pyflink import add_version_doc
  from pyflink.java_gateway import get_gateway
  from pyflink.table.expression import Expression, _get_java_expression, TimePointUnit, JsonOnNull
  from pyflink.table.types import _to_java_data_type, DataType
  from pyflink.table.udf import UserDefinedFunctionWrapper
  from pyflink.util.java_utils import to_jarray, load_java_class
label_desc: Use image node_id 38 for calling a global function with example usage: rand_integer(bound, seed) and returns: _unary_op, _binary_op