Skip to content

featurebyte.TimestampSchema

class TimestampSchema(
*,
format_string: Optional[str]=None,
is_utc_time: Optional[bool]=None,
timezone: Union[TimeZoneName, TimeZoneColumn, NoneType]=None
)

Description

Schema for a timestamp column. To be embedded within a ColumnSpec is_utc_time: bool Whether the timestamp values are in UTC (True) or local time (False) format_string: Optional[str] Format string for the timestamp column represented as a string timezone: Union[TimezoneName, TimezoneOffsetColumn] Timezone information for the timestamp column. The default value is "Etc/UTC"

Parameters

  • format_string: Optional[str]

  • is_utc_time: Optional[bool]

  • timezone: Union[TimeZoneName, TimeZoneColumn, NoneType]

See Also