rustyconover opened a new issue, #38596: URL: https://github.com/apache/arrow/issues/38596
### Describe the bug, including details regarding any error messages, version, and platform. Using PyArrow 13.0.0 in Python It appears that `pc.all()` does not return True when the array consists of single null value and skip_nulls is set. ```python import pyarrow as pa import pyarrow.compute as pc # Just show an array with a single None value, with skip_nulls enables. [61]: pc.all(pa.array([None], pa.bool_()), skip_nulls=True) Out[61]: <pyarrow.BooleanScalar: None> # When the array contains a single boolean value in-addition to a null value the # expected result is produced. In [62]: pc.all(pa.array([None, False], pa.bool_()), skip_nulls=True) Out[62]: <pyarrow.BooleanScalar: False> In [63]: pc.all(pa.array([None, False], pa.bool_()), skip_nulls=True) Out[63]: <pyarrow.BooleanScalar: False> ``` I'd like the `skip_nulls` flag to work even if the array only has a single null value. Or the documentation should be updated. Thank you, Rusty ### 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]
