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

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   When using the FlightDataEncoder the DictionaryHandling logic does not 
recuse into fields of a Map type. As a result any dictionary within a Map is 
not hydrated and can therefore break encoding as multiple dictionaries are sent.
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   1. Using FlightDataEncoder  encode two batches where there is a Map with a 
dictionary for either the key or value field.
   2. An error occurs as the error_on_replacement check inside the 
FlightIPCEncoder fails as a dictionary is replaced
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   The FlightDataEncoder correctly hydrates the dictionaries to avoid the 
encoding error
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->
   
   PR with a fix incoming.


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