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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hello,
   
   I'm trying to sort a table on a column with dictionary type and getting the 
following error
   `pyarrow.lib.ArrowNotImplementedError: dictionary<values=string, 
indices=int32, ordered=0>`
   
   Here is a code the reproduce the error 
   ```
   import pyarrow as pa
   
   dictionary = pa.array(['a', 'b', 'c'])
   indices = pa.array([0, 1, 2, 0, 2])
   dictionary_array = pa.DictionaryArray.from_arrays(indices, dictionary)
   
   # this is working
   sorted_array = dictionary_array.sort()
   
   # this is equivalent to select specific column in a table
   chunked_dictionary_array = pa.chunked_array(dictionary_array)
   
   # this failed
   chunked_dictionary_array.sort()
   ```
   
   Thanks
   
   
   
   ### 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