Functions [pyarrow.compute.dictionary_encode()|https://arrow.apache.org/docs/python/generated/pyarrow.compute.dictionary_encode.html] and [pyarrow.Array.dictionary_encode()|https://arrow.apache.org/docs/python/generated/pyarrow.DictionaryArray.html#pyarrow.DictionaryArray.dictionary_encode] don't allow to specify a desirable dictionary type.
A dictionary type consists of value type, index type, and ordering.
Index type is set to int32() and ordering is set to False.
Changing these properties requires redundant casting (not implemented).
Reporter: Andrei Nesterov
Related issues:
Note: This issue was originally created as ARROW-13103. Please see the migration documentation for further details.