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.expression.Expression.between#

Expression.between(lower_bound, upper_bound) → pyflink.table.expression.Expression[bool][source]#

Returns true if the given expression is between lower_bound and upper_bound (both inclusive). False otherwise. The parameters must be numeric types or identical comparable types.

e.g. lit(2.1).between(2.1, 2.1) leads to true, lit(“2018-05-05”).to_date.between(lit(“2018-05-01”).to_date, lit(“2018-05-10”).to_date) leads to true.

Parameters
  • lower_bound – numeric or comparable expression

  • upper_bound – numeric or comparable expression

See also

not_between()

New in version 1.12.0.

previous

pyflink.table.expression.Expression.round

next

pyflink.table.expression.Expression.not_between

Show Source

Created using Sphinx 4.5.0.