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
What operating system and processor architecture are you using?
macOS-13.5-arm64-arm-64bit
What are the component versions in the environment (pip freeze)?
What did you do?
I have a program that is using Session.builder.configs(config_dict).getOrCreate() the program is running for a few hours, after 4hrs the authentication token gets revoked but context() and getOrCreate() return the same session and that session will fail with an error message about AuthenticationToken
What did you expect to see?
It should have logged that the authentication token is expired and try to do a create
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Session.builder.getOrCreate does not take into consideration if the authentication token has expired
SNOW-901157: Session.builder.getOrCreate does not take into consideration if the authentication token has expired
Aug 27, 2023
The program is orchestrating tasks. And the orchestrator is "alive" for more that 4 hours. So at some point the context will return an instance which has an expired lifespan
Please answer these questions before submitting your issue. Thanks!
Python 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)]
macOS-13.5-arm64-arm-64bit
What are the component versions in the environment (
pip freeze
)?What did you do?
I have a program that is using Session.builder.configs(config_dict).getOrCreate() the program is running for a few hours, after 4hrs the authentication token gets revoked but context() and getOrCreate() return the same session and that session will fail with an error message about AuthenticationToken
What did you expect to see?
It should have logged that the authentication token is expired and try to do a create
The text was updated successfully, but these errors were encountered: