rok commented on issue #46750:
URL: https://github.com/apache/arrow/issues/46750#issuecomment-2961843456

   Interesting. What OS and pyarrow version are you on @guilhermedelyra?
   I'm on ubuntu 24.04, pyarrow 20.0.0 and the I have all passing (if I remove 
the Z from the last three of your lowerbound examples):
   ```python
   upperbound = pa.array(
       [
           "2262-04-11T23:47:16",  # ✅
           "2262-04-11T23:47:17",  # ✅
           "9999-12-31T23:59:59"  # ✅
       ],
       pa.string(),
   )
   
   lowerbound = pa.array(
       [
           "1677-09-21T00:12:44",  # ✅
           "1677-09-21T00:12:43",  # ✅
           "1580-01-01T00:00:00",  # ✅
           "0001-01-01T00:00:00",  # ✅
       ],
       pa.string(),
   )
   ```
   We use a system or vendored strptime parser depending on the platform, so 
knowing what you're on would help.
   
   Regarding the "Z", you can use `pc.strptime(lowerbound, 
format="%Y-%m-%dT%H:%M:%S%Z", unit="us")`, but I think that will ignore 
timezone information if you have any.


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