Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Data Types
  • pyflink.table.types.DataTypes.TIME

pyflink.table.types.DataTypes.TIME#

static DataTypes.TIME(precision: int = 0, nullable: bool = True) → 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

On this page
  • DataTypes.TIME()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.