Skip to content

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

Merged
kokosing merged 1 commit intotrinodb:masterfrom
aalbu:jdbc-session-user
Aug 14, 2023
Merged

Set the session user on the JDBC connection after creation#18493
kokosing merged 1 commit intotrinodb:masterfrom
aalbu:jdbc-session-user

Conversation

@aalbu
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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