pyflink.table.expression.Expression.to_timestamp#
- property Expression.to_timestamp: Expression#
ss[.SSS]” to a SQL Timestamp. It’s equivalent to col.cast(DataTypes.TIMESTAMP(3)).
Example:
>>> lit('2016-06-15 3:30:00.001').to_timestamp
Added in version 1.12.0.
- Type:
Parses a timestamp string in the form “yyyy-MM-dd HH
- Type:
mm