Skip to content

Cannot create Table with Array of Timestamp type #459

Description

@kylebarron

Discussed in #458

Originally posted by yunzheng November 20, 2025
I'm trying to avoid pyarrow (due to it's size) and use arro3, but creating a Table with datetime objects doesn't seem to work yet:

from datetime import datetime, timezone

from arro3.core import Array, DataType, Table

a = Array([datetime.now(tz=timezone.utc)], type=DataType.timestamp("ns", tz="UTC"))
table = Table.from_pydict({"dt": a})

will raise the error:

NotImplementedError: Array constructor for Timestamp(Nanosecond, Some("UTC")) not yet implemented.

So it seems it's not implemented yet. But reading data with timestamps from disk (created using pyarrow) works just fine. So I was wondering if there are any workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions