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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Since `FlightSqlServiceClient` does not provide a constructor function with 
a `FlightServiceClient`, I cannot configure the `FlightServiceClient`, such as 
setting `max_decoding_message_size`. Providing `inner_mut()` is not enough, 
since `FlightServiceClient` only supports configuration through the builder 
functions. Consequently, I cannot use `FlightSqlServiceClient`.
   
   **Describe the solution you'd like**
   
   Add a constructor function `new_from_inner()` like this:
   
   ```rust
       pub fn new_from_inner(flight_client: FlightServiceClient<Channel>) -> 
Self {
           Self {
               token: None,
               headers: HashMap::default(),
               flight_client
           }
       }
   ```
   
   **Describe alternatives you've considered**
   
   None.
   
   **Additional context**
   
   None.


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