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

static DataTypes.TIMESTAMP_WITH_LOCAL_TIME_ZONE(precision: int = 6, nullable: bool = True) → pyflink.table.types.LocalZonedTimestampType[source]#

Data type of a timestamp WITH LOCAL time zone.

An instance consists of year-month-day hour:minute:second[.fractional with up to nanosecond precision and values ranging from 0000-01-01 00:00:00.000000000 +14:59 to 9999-12-31 23:59:59.999999999 -14:59.

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

The value will be stored internally as a long value which stores all date and time fields, to a precision of nanoseconds, as well as the offset from UTC/Greenwich.

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

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

Note

LocalZonedTimestampType only supports precision of 3 currently.

previous

pyflink.table.types.DataTypes.TIMESTAMP

next

pyflink.table.types.DataTypes.TIMESTAMP_LTZ

Show Source

Created using Sphinx 4.5.0.