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, Expression[int]]] = None) → 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

On this page
  • rand()
Show Source

Created using Sphinx 5.3.0.