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.types.DataTypes.TIME#

static DataTypes.TIME(precision: int = 0, nullable: bool = True) → pyflink.table.types.TimeType[source]#

Data type of a time WITHOUT time zone.

An instance consists of hour:minute:second[.fractional with up to nanosecond precision and values ranging from 00:00:00.000000000 to 23:59:59.999999999.

Compared to the SQL standard, leap seconds (23:59:60 and 23:59:61) are not supported.

Parameters
  • precision – int, the number of digits of fractional seconds. It must have a value between 0 and 9 (both inclusive).

  • nullable – boolean, whether the type can be null (None) or not.

Note

The precision must be 0 currently.

previous

pyflink.table.types.DataTypes.DATE

next

pyflink.table.types.DataTypes.TIMESTAMP

Show Source

Created using Sphinx 4.5.0.