roboto.formats.parquet.timestamp
Module Contents
Timestamp
The timestamp field of a Parquet file, the field holding each row’s timestamp. Serves as both a descriptor of that field and as a utility for projecting its values to other time units.
Attributes
Timestamp.column_index
The timestamp’s position among the file’s leaf columns, which is the index of its column chunk in every row group.
Timestamp.field
Timestamp.path
Path components locating the timestamp field in the file’s schema, root to leaf, through structs only.
Timestamp.to_epoch_nanoseconds()
Parameters
timestamp roboto.Return type
Timestamp.unit()
Return type
Attributes
Timestamp.unit_hint
Unit the stored values are recorded in, used when the Arrow type does not carry one.
Taken from the Unit metadata of the timestamp’s MessagePathRecord, or from the read plan’s unit. None when the unit is unknown.
TimestampInfo
Attributes
TimestampInfo.end_time
TimestampInfo.end_time_ns()
Return type
TimestampInfo.start_time_ns()
Return type
Attributes
TimestampInfo.unit
is_timestamp_like()
Parameters
arrow_type pyarrow.Return type
is_timezone_aware()
Parameters
arrow_type pyarrow.Return type
time_unit_from_timestamp_type()
Parameters
timestamp_type pyarrow.Return type