Reproducer:
import pyarrow as pa test = pa.array([], type=pa.bool_()) test2 = test.cast(pa.int8())
GitHub Pull Request #3815