MarcoGorelli opened a new issue, #45717:
URL: https://github.com/apache/arrow/issues/45717

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```python
   import pyarrow as pa
   import pyarrow.compute as pc
   a1 = pa.array(['x', 'y'], type=pa.string())
   a2 = pa.array(['x', 'y'], type=pa.large_string())
   ```
   Then:
   ```python
   In [19]: pc.binary_join_element_wise(a1, '')
   Out[19]:
   <pyarrow.lib.StringArray object at 0x7f6589dcb280>
   [
     "x",
     "y"
   ]
   ```
   All good
   
   Using `a2`:
   ```python
   In [20]: pc.binary_join_element_wise(a2, '')
   ---------------------------------------------------------------------------
   ArrowNotImplementedError                  Traceback (most recent call last)
   Cell In[20], line 1
   ----> 1 pc.binary_join_element_wise(a2, '')
   
   File 
~/polars-api-compat-dev/.venv/lib/python3.12/site-packages/pyarrow/compute.py:264,
 in _make_generic_wrapper.<locals>.wrapper(memory_pool, options, *args, 
**kwargs)
       262 if args and isinstance(args[0], Expression):
       263     return Expression._call(func_name, list(args), options)
   --> 264 return func.call(args, options, memory_pool)
   
   File 
~/polars-api-compat-dev/.venv/lib/python3.12/site-packages/pyarrow/_compute.pyx:393,
 in pyarrow._compute.Function.call()
   
   File 
~/polars-api-compat-dev/.venv/lib/python3.12/site-packages/pyarrow/error.pxi:155,
 in pyarrow.lib.pyarrow_internal_check_status()
   
   File 
~/polars-api-compat-dev/.venv/lib/python3.12/site-packages/pyarrow/error.pxi:92,
 in pyarrow.lib.check_status()
   
   ArrowNotImplementedError: Function 'binary_join_element_wise' has no kernel 
matching input types (large_string, string)
   ```
   
   Expected;
   ```
   In [20]: pc.binary_join_element_wise(a2, '')
   Out [20]:
   <pyarrow.lib.LargeStringArray object at 0x7f6589dcb280>
   [
     "x",
     "y"
   ]
   ```
   
   ### 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

Reply via email to