You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "ccciudatu (via GitHub)" <gi...@apache.org> on 2024/08/14 22:04:46 UTC

[I] Make the bearer token stored by the FlightSqlServiceClient visible [arrow-rs]

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

   `FlightSqlServiceClient` stores the bearer token it receives on the Handshake response and uses it on all subsequent requests. The Flight protocol does not clearly specify whether the bearer token has to be sent on DoGet calls as well (along with the ticket). Because of this, several Flight SQL server implementors decided to expect the bearer token on DoGet requests.
   However, if the `DoGet` call needs to go to a different endpoint, or when the client decides to parallelise the streams and have the `DoGet` calls performed by different threads (or even nodes), the new client instances cannot access the bearer token simply because the field is private and only writable (set_ and clear_).
   
   Adding a "getter" would solve this problem and allow the client app to propagate the token to distributed DoGet calls.
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Make the bearer token visible in FlightSqlServiceClient [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #6253:
URL: https://github.com/apache/arrow-rs/issues/6253#issuecomment-2322898938

   `label_issue.py` automatically added labels {'arrow'} from #6254


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Make the bearer token visible in FlightSqlServiceClient [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #6253: Make the bearer token visible in FlightSqlServiceClient
URL: https://github.com/apache/arrow-rs/issues/6253


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Make the bearer token visible in FlightSqlServiceClient [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #6253:
URL: https://github.com/apache/arrow-rs/issues/6253#issuecomment-2322898951

   `label_issue.py` automatically added labels {'arrow-flight'} from #6254


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org