pyflink.table.expression.Expression.to_date#
- property Expression.to_date: pyflink.table.expression.Expression#
Parses a date string in the form “yyyy-MM-dd” to a SQL Date. It’s equivalent to col.cast(DataTypes.DATE()).
Example:
>>> lit("2016-06-15").to_date
New in version 1.12.0.