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

   ### Describe the enhancement requested
   
   
[dictionary_encode](https://arrow.apache.org/docs/cpp/compute.html#associative-transforms)
 takes an Array as input and converts it into a DictArray. However, it does not 
let you set the encoding.
   
   Users would then need to afterwards use the 
[Transpose](https://arrow.apache.org/docs/cpp/api/array.html#_CPPv4NK5arrow15DictionaryArray9TransposeERKNSt10shared_ptrI8DataTypeEERKNSt10shared_ptrI5ArrayEEPK7int32_tP10MemoryPool)
 API to set the encoding they'd like - a step which does involve a copy.
   
   Having both of these API is great, but is there anything blocking us from 
expanding `dictionary_encode` so that it accepts a transpose map? 
   
   ### Component(s)
   
   C++


-- 
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