renaudb opened a new issue, #47447: URL: https://github.com/apache/arrow/issues/47447
### Describe the bug, including details regarding any error messages, version, and platform. This was tested with pyarrow 21.0.0 and 20.0.0 and OSX and Linux. To reproduce: ``` import pyarrow as pa import pyarrow.compute as pc a = pa.array([None], pa.null()) b = pa.array([None], pa.null()) pc.replace_with_mask(a, True, b) ``` This was discovered when using pandas `combine_first` on null series. ``` import pandas as pd import pyarrow as pa pd.Series([None], dtype=pd.ArrowDtype(pa.null())).combine_first(pd.Series([None], dtype=pd.ArrowDtype(pa.null()))) ``` ### 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org