Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ArrowFlight bearer token auth to create a session key for FlightSql clients #112

Closed
avantgardnerio opened this issue Aug 3, 2022 · 1 comment · Fixed by #269
Closed
Labels
enhancement New feature or request

Comments

@avantgardnerio
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Since tables have to be registered per each session in Ballista, no one can query any tables unless we have a session identifier. The native Ballista wire protocol has a special field for this, but in FlightSQL the best we can do is use their bearer token auth.

Describe the solution you'd like

Accept a username and password on handshake, return a session token, use that token to maintain persistent sessions.

Describe alternatives you've considered

I can't really think of one.

@avantgardnerio
Copy link
Contributor Author

FWIW, this is fixed in our fork, but I'm waiting for datafusion to upgrade to arrow 22 before I can PR this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant