brancz opened a new issue, #10038:
URL: https://github.com/apache/arrow-rs/issues/10038

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   We use Vortex, which dynamically chooses how to encode data. As a 
consequence, we sometimes have plain structs and sometimes structs that are 
dict encoded. When we read data, we always want to maintain the dict encoding 
when it's present. However, to do that, we need to cast "plain" struct arrays 
to dictionary-encodable struct arrays, which currently fails.
   
   **Describe the solution you'd like**
   
   A naive implementation to be able to cast a plain struct to a "dictionary 
encoded" struct. It's not actually important for us to deduplicate; we just 
need the consistent type to pass further down the pipeline.
   
   **Describe alternatives you've considered**
   
   Cast everything to plain structs, but then we're missing out on large 
efficiency gains.
   
   **Additional context**
   
   I already have the patch ready to open. I'm just opening this for tracking 
purposes.


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