thisisnic commented on issue #44420:
URL: https://github.com/apache/arrow/issues/44420#issuecomment-7185767150
Thanks for reporting this! I'm going through older bug issues to see if we
can close them out.
This is expected: a `timestamp("ns")` value is stored as a 64-bit count of
nanoseconds since 1970-01-01, so it can only hold dates between 1677-09-21 and
2262-04-11, and `0001-01-01` does not fit. On 26.0.1 the error is raised at
exactly those limits. For values like this, use `pa.timestamp("us")`: it covers
year 1, it is what pyarrow infers for `datetime` objects when no type is given,
and it round-trips through Parquet.
Closing as not a bug.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]