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
In this PR, we cache object stores per scheme (e.g. s3) + bucket (container) combination
in each Postgres session. This will reduce authentication costs by only doing it at the first
time.
object_store does not perform sts assume_role to get temp token, so pg_parquet
make use of aws sdk to perform it. And then configure object_store with the temp
token that it fetched. This is why, pg_parquet checks expiration of the tokens for s3 store.
It will fetch the temp token if it expires. (obviously if you configured temp token auth via config)
For azure blob store, we do not need to recreate tokens because object_store handles it.
0 commit comments