pitrou commented on PR #48466:
URL: https://github.com/apache/arrow/pull/48466#issuecomment-3748500121
For the record:
```python
>>> dates = pa.array([0, 86400000, None], type=pa.int64()).view(pa.date64())
>>> dates.validate(full=True)
>>> dates = pa.array([0, 86400001, None], type=pa.int64()).view(pa.date64())
>>> dates.validate(full=True)
Traceback (most recent call last):
Cell In[8], line 1
dates.validate(full=True)
File pyarrow/array.pxi:1851 in pyarrow.lib.Array.validate
File pyarrow/error.pxi:92 in pyarrow.lib.check_status
ArrowInvalid: date64[ms] 86400001 does not represent a whole number of days
```
--
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]