lidavidm opened a new issue, #35725:
URL: https://github.com/apache/arrow/issues/35725

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```cpp
       // Allow setting generic gRPC options.
       for (const auto& arg : options.generic_options) {
         if (std::holds_alternative<int>(arg.second)) {
           default_args[arg.first] = std::get<int>(arg.second);
         } else if (std::holds_alternative<std::string>(arg.second)) {
           args.SetString(arg.first, std::get<std::string>(arg.second));
         }
         // Otherwise unimplemented
       }
       for (const auto& pair : default_args) {
         args.SetInt(pair.first, pair.second);
       }
   ```
   
   We should set the defaults _before_ the user-supplied arguments.
   
   ### Component(s)
   
   C++, FlightRPC


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