aiguofer commented on issue #33953: URL: https://github.com/apache/arrow/issues/33953#issuecomment-1411497672
Ok so this one is a little bit beyond me as I'm not very familiar with gRPC but I believe the problem lies in `FlightClient.interceptedChannel`. The handshake and sql info methods both use `CallOptions.wrapStub(blockingStub, options).get<method>`, which internally uses the `Channel` on the stub. `getStream` however, uses the `interceptedChannel`. If I replace it with `CallOptions.wrapStub(asyncStub, options).getChannel()` it seems to send the headers along, see: [this commit](https://github.com/apache/arrow/commit/3684280b8c844242b44894cd84e670ae0cd71df1) There's a few other methods in the `FlightClient` that use the `interceptedChannel` so those might also be worth a look. BTW, https://github.com/apache/arrow/issues/33839 might be the same issue based on these findings. -- 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]
