alamb opened a new pull request, #4282:
URL: https://github.com/apache/arrow-rs/pull/4282

   # Which issue does this PR close?
   
   Sketch of a solution for https://github.com/apache/arrow-rs/issues/4281
   
   # Rationale for this change
    
   It is a PITA to create `FlightInfo` as described on 
https://github.com/apache/arrow-rs/issues/4281
   
   
   # What changes are included in this PR?
   
   This PR builds on @roeap 's https://github.com/apache/arrow-rs/pull/4266 and 
sketches out a:
   1.  `FlightInfoBuilder` in c9ebeb7b495c52827afc26432fa377af23bc1c2a 
   2.  Demonstrates how it could be used in 
623f3bbc904c0db0c30aa36f804ab38a7c59dc89
   
   
   # Are there any user-facing changes?
   It would be a new API
   
   I think we could use this new builder to clean up the code a bit in IOx -- 
https://github.com/influxdata/influxdb_iox/blob/cdd519424dd102cac5162899fcb0fde21103a1dc/service_grpc_flight/src/lib.rs#L657-L680
   
   If this seems like a reasonable idea I'll polish up the code and get a PR 
ready


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