Skip to content

Conversation

@shcarr-r7
Copy link
Contributor

Adds an option to override the Authorization header per query.

I have Open Policy Agent adding additional filters to the queries that execute on Trino based on permissions of the user, so need to be able to set the Authorization header per query.

I tried creating a new client per query but ran into thread pool exhaustion.

@tagomoris tagomoris merged commit 781c97f into tagomoris:master Dec 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants