Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.expressions.rand#

rand(seed: Optional[Union[int, pyflink.table.expression.Expression[int]]] = None) → pyflink.table.expression.Expression[float][source]#

Returns a pseudorandom double value between 0.0 (inclusive) and 1.0 (exclusive) with a initial seed if specified. Two rand() functions will return identical sequences of numbers if they have same initial seed.

New in version 1.12.0.

previous

pyflink.table.expressions.e

next

pyflink.table.expressions.rand_integer

Show Source

Created using Sphinx 4.5.0.