kou opened a new pull request, #35454: URL: https://github.com/apache/arrow/pull/35454
### Rationale for this change Because it's also a RPC call like others such as `ListFlights()` and `DoGet()`. If we pass `ServerCallContext` instead of `CallHeaders`, implementers can also get other information such as client address. For example, https://github.com/apache/arrow-flight-sql-postgresql will use it by `ServerCallContext::peer()`. ### What changes are included in this PR? Passes `ServerCallContext` instead of `CallHeaders` but keeps a backward compatibility. Implementers can still use the old signature. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. But this is still backward compatible. -- 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]
