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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When I try to instantiate MapLookupOptions, I get an error.
   The same happens when I call pc.map_lookup with those arguments.
   
   ```
   In [1]: import pyarrow as pa
   pa.
   In [2]: pa.__version__
   Out[2]: '15.0.0'
   
   In [3]: import pyarrow.compute as pc
   
   In [4]: pc.MapLookupOptions(query_key='orderEntryTime', occurence='first')
   ---------------------------------------------------------------------------
   TypeError                                 Traceback (most recent call last)
   Cell In[5], line 1
   ----> 1 pc.MapLookupOptions(query_key='orderEntryTime', occurence='first')
   
   File ~/venv/lib/python3.11/site-packages/pyarrow/_compute.pyx:1595, in 
pyarrow._compute.MapLookupOptions.__init__()
   
   TypeError: __init__() takes exactly 3 positional arguments (2 given)
   ```
   
   ### 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]

Reply via email to