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.
New in version 1.12.0.