WillAyd opened a new issue, #41266:
URL: https://github.com/apache/arrow/issues/41266

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   The CPython date implementation has a limit on date objects where the year 
must be >= 1 and <= 9999. The date32 pyarrow object will happily accept dates 
that are outside of these bounds:
   
   ```python
   old_date = pa.scalar(-1_000_000, type=pa.date32())
   ```
   
   But it doesn't seem like you can do anything with this object really. Just 
trying to print it will yield:
   
   ```python
   OverflowError: date value out of range
   ```
   
   and there do not seem to be any elements to introspect aside from the value 
(number of days since Epoch). Is there some other way to interact with this 
object and at least inspect the year / month / day components on the object 
itself? Or is the expectation that users go through compute for those?
   
   ### Component(s)
   
   Python


-- 
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]

Reply via email to