parquet_get_column_time_info Interface

interface
public module subroutine parquet_get_column_time_info(reader, name, unit, timezone)

Arguments

Type IntentOptional Attributes Name
type(parquet_reader), intent(in) :: reader

open reader.

character(len=*), intent(in) :: name

time/timestamp column name.

integer, intent(out), optional :: unit

stored unit (a parquet_unit_* selector).

character(len=:), intent(out), optional, allocatable :: timezone

IANA tz, or "" if naive.

Description

Returns column name's stored time unit and (for a timestamp) timezone. unit (optional) receives one of the parquet_unit_* selectors; timezone (optional, allocatable) receives the IANA timezone string ("" for a timezone-naive timestamp or a time column). Aborts if name is not a time/timestamp column. Distinct from parquet_get_metadata, which serves user-defined key/value metadata rather than this schema-level property.