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.ceil#

Expression.ceil(time_interval_unit: Optional[pyflink.table.expression.TimeIntervalUnit] = None) → pyflink.table.expression.Expression[source]#

If time_interval_unit is specified, it rounds up a time point to the given unit, e.g. lit(“12:44:31”).to_date.floor(TimeIntervalUnit.MINUTE) leads to 12:45:00. Otherwise, it calculates the smallest integer greater than or equal to a given number.

See also

to_date, to_time, to_timestamp, extract(), floor(), ceil()

New in version 1.12.0.

previous

pyflink.table.expression.Expression.floor

next

pyflink.table.expression.Expression.get

Show Source

Created using Sphinx 4.5.0.