pyflink.table.expressions.to_timestamp_ltz#
- to_timestamp_ltz(numeric_epoch_time, precision) pyflink.table.expression.Expression [source]#
Converts a numeric type epoch time to TIMESTAMP_LTZ.
The supported precision is 0 or 3: 0 means the numericEpochTime is in second. 3 means the numericEpochTime is in millisecond.
- Parameters
numeric_epoch_time – The epoch time with numeric type
precision – The precision to indicate the epoch time is in second or millisecond
- Returns
The timestamp value with TIMESTAMP_LTZ type.
New in version 1.12.0.