Chetansahney commented on PR #55779: URL: https://github.com/apache/arrow/pull/55779#issuecomment-7185929283
Thanks @AlenkaF. Yes, I've reviewed this PR and #55781 myself, and I've ticked "Reviewed before submission by: Human" in both descriptions. I've added Python tests to both: - Here, `test_replace_with_mask_scalar_values_with_array_arguments` (5e9aebd) checks that a scalar `values` with an array mask or array replacements raises `ArrowInvalid`, and that all-scalar input still returns a length-1 array. - In #55781, `test_array_take_mixed_scalar_and_array_arguments` and `test_array_filter_mixed_scalar_and_array_arguments` (bd9a129) check the `TypeError` for mixed scalar and array arguments to `array_take`, `array_filter` and `filter`, and the all-scalar case. With pyarrow 26.0.1 the new tests crash the interpreter with an access violation. With pyarrow built from these branches they pass, along with the rest of `test_compute.py` (the only failures in my build are the RE2, utf8proc and timezone tests, which that build doesn't include). -- 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]
