You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to reuse extraCredentials option of the trino driver and communicate with a rest catalog via token that we provide via this option.
In this case a session is being created via AuthSession.fromAccessToken because Trino passes it as a property.
But the thing is that RestSessionCatalog uses cache for sessions. And it means that in case we send a new token, the old one will be used until cache is expired (1 hour is default).
I see there is a propertyauth.session-timeout-ms, but can't override it. Is it possible?
Query engine
Trino
Question
I'd like to reuse extraCredentials option of the trino driver and communicate with a rest catalog via token that we provide via this option.
In this case a session is being created via AuthSession.fromAccessToken because Trino passes it as a property.
But the thing is that RestSessionCatalog uses cache for sessions. And it means that in case we send a new token, the old one will be used until cache is expired (1 hour is default).
I see there is a property
auth.session-timeout-ms
, but can't override it. Is it possible?The text was updated successfully, but these errors were encountered: