HyukjinKwon commented on code in PR #48460:
URL: https://github.com/apache/arrow/pull/48460#discussion_r2610316116


##########
python/pyarrow/tests/strategies.py:
##########
@@ -323,9 +323,15 @@ def arrays(draw, type, size=None, nullable=True):
         value = st.datetimes(timezones=st.just(tz), min_value=min_datetime,
                              max_value=max_datetime)
     elif pa.types.is_duration(ty):
-        value = st.timedeltas()
+        value = st.timedeltas(
+            min_value=datetime.timedelta(days=-96075),
+            max_value=datetime.timedelta(days=96075)
+        )
     elif pa.types.is_interval(ty):
-        value = st.timedeltas()
+        value = st.timedeltas(
+            min_value=datetime.timedelta(days=-96075),

Review Comment:
   So roughly 106750 (~292 years) should be the max but it fails with that max. 
I reduced 10% for now.



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