thisisnic commented on issue #38986:
URL: https://github.com/apache/arrow/issues/38986#issuecomment-6745735467
Confirmed this still reproduces on pyarrow 25.0.1 and Arrow C++ 26.0.1 dev.
Reprex:
```python
import pyarrow as pa, pyarrow.compute as pc
arr = pa.array([["a", "b"]], pa.list_(pa.field("element", pa.string(),
nullable=False)))
pc.binary_join(arr, "-")
# ArrowNotImplementedError: Function 'binary_join' has no kernel matching
input types (list<element: string not null>, string)
```
The kernel is registered with an exact `list<string>` input type in
`AddBinaryJoinForListType` (`scalar_string_ascii.cc`), and exact matching
compares child field nullability, so the non-nullable element type never
matches. Casting to `pa.list_(pa.string())` first works as a workaround. Fix is
to use a type matcher that ignores child nullability.
--
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]