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?
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:
will raise the error:
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?