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

Set the session user on the JDBC connection after creation #18493

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

aalbu
Copy link
Member

@aalbu aalbu commented Aug 2, 2023

Description

Some systems connect to Trino using a service account and run queries using pooled connections. In such cases, it's useful to be able to set the user on whose behalf the query is being executed on the connection obtained from the pool.

Additional context and related issues

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 2, 2023
@github-actions github-actions bot added the jdbc Relates to Trino JDBC driver label Aug 2, 2023
@aalbu aalbu requested a review from electrum August 3, 2023 02:03
@kokosing
Copy link
Member

@electrum would you like to take a look before merging?

@kokosing kokosing merged commit df16c38 into trinodb:master Aug 14, 2023
@kokosing
Copy link
Member

Thanks!

@github-actions github-actions bot added this to the 424 milestone Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed jdbc Relates to Trino JDBC driver
Development

Successfully merging this pull request may close these issues.

2 participants