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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   Something I discovered while working on code base at Coralogix and in 
Ballista.
   `flight_data_from_arrow_batch` is used as method to convert a 
single`RecordBatch` to `FlightData`.
   This method extracts both the dictionaries as the `RecordBatches`.
   While convenient, if the dictionary is the shared across batches, the caller 
will probably send the `FlightData` for these dictionaries over and over again 
over in the stream.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   Mark the method as deprecated to encourage users to use the 
`IpcDataGenerator` API instead.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to