- 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:59to
9999-12-31 23:59:59.999999999 -14:59.
Compared to the SQL standard, leap seconds (
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.
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.
LocalZonedTimestampType only supports precision of 3 currently.