Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ https://docs.snowflake.com/
Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python

# Release Notes
- v3.13.2(January 29, 2025)
- Changed not to use scoped temporary objects.

- v3.13.1(January 29, 2025)
- Remedied SQL injection vulnerability in snowflake.connector.pandas_tools.write_pandas. See more https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-2vpq-fh52-j3wv
Expand Down
7 changes: 5 additions & 2 deletions src/snowflake/connector/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ def random_name_for_temp_object(object_type: TempObjectType) -> str:


def get_temp_type_for_object(use_scoped_temp_objects: bool) -> str:
return SCOPED_TEMPORARY_STRING if use_scoped_temp_objects else TEMPORARY_STRING

# return SCOPED_TEMPORARY_STRING if use_scoped_temp_objects else TEMPORARY_STRING
"""sfc-gh-yixie: scoped temp stage isn't required out side of a SP.
TODO: We may add this back when we merge the Python connector and the SP connector.
"""
return TEMPORARY_STRING

class _TrackedQueryCancellationTimer(Timer):
def __init__(self, interval, function, args=None, kwargs=None):
Expand Down
Loading