-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1418523 make analyzer server connection thread safe #2282
SNOW-1418523 make analyzer server connection thread safe #2282
Conversation
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
…ection-thread-safe
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
…ad-safe' into aalam-SNOW-1418523-make-analyzer-server_connection-thread-safe
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
…ad-safe' into aalam-SNOW-1418523-make-analyzer-server_connection-thread-safe
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
…ad-safe' into aalam-SNOW-1418523-make-analyzer-server_connection-thread-safe
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing |
5f140ab
into
aalam-SNOW-1418523-make-internal-session-variables-thread-safe
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-1418523
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
[NOTE] Easier to review by selecting
hide whitespace
option when viewing diffsThis PR makes the following updates:
server_connection.py
:_thread_store
to create a_cursor
per thread to enable concurrent querying_query_listener
updates using_lock
so all queries can be added in a thread-safe mannersession.py
:_analyzer
to enable concurrent dataframe operations._query_tag
._session_stage
creation with a lock so only one session stage is created and used.