Skip to content

[feature request] Support Time64Type[ns] #1169

Description

@kevinjqliu

Feature Request / Improvement

Currently Time64Type[ns] (Time64Type with nanosecond precision) is not supported. Only Time64Type[ms] (Time64Type with microsecond precision) is supported.

elif isinstance(primitive, pa.Time64Type) and primitive.unit == "us":
return TimeType()

Also add the ability to downcast, similar to the pa.types.is_timestamp(primitive): branch.

Interestingly Time64Type[ns] is False when evaluating pa.types.is_timestamp(primitive).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions