Isaac7777-cpu-school commented on code in PR #44409:
URL: https://github.com/apache/arrow/pull/44409#discussion_r1807118788
##########
python/pyarrow/tests/test_compute.py:
##########
@@ -376,6 +386,57 @@ def test_sum_chunked_array(arrow_type):
assert pc.sum(arr, min_count=0).as_py() == 0
[email protected]('arrow_type', decimal_arrow_types)
+def test_sum_decimal_array(arrow_type):
Review Comment:
Thank you very much for your review. I have added the test cases you
suggested into a separate function `test_decimal_compute`. However, I suspect
that the assert `assert c.type==pa.decimal128(9,6)` may fail as it is adding 20
decimal places.
--
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]