zeroshade commented on issue #44665:
URL: https://github.com/apache/arrow/issues/44665#issuecomment-2461665022

   The `transpose_map` is typically created from using a `DictionaryUnifier`. 
What kind of "encoding" are you referring to here? In general, you shouldn't 
need a `transpose_map` when you are first encoding an array. 
   
   If you have multiple arrays that you want to dictionary encode with the same 
dictionary, then you can just create a `ChunkedArray` and call 
`dictionary_encode` on that, right? You only need to transpose indices when you 
already have dictionaries and want to unify multiple dictionary arrays to all 
use the same underlying dictionary. 
   
   What's the use case for how you'd already have a transpose map to pass to 
`dictionary_encode`?


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