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

property Expression.to_time: pyflink.table.expression.Expression#

Parses a time string in the form “HH:mm:ss” to a SQL Time. It’s equivalent to col.cast(DataTypes.TIME()).

Example:

>>> lit("3:30:00").to_time

See also

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

New in version 1.12.0.

previous

pyflink.table.expression.Expression.to_date

next

pyflink.table.expression.Expression.to_timestamp

Show Source

Created using Sphinx 4.5.0.