File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 2222from snowflake .connector .telemetry import TelemetryData , TelemetryField
2323
2424from ._utils import (
25- _PYTHON_SNOWPARK_USE_SCOPED_TEMP_OBJECTS_STRING ,
2625 TempObjectType ,
2726 get_temp_type_for_object ,
2827 random_name_for_temp_object ,
@@ -354,19 +353,11 @@ def write_pandas(
354353 )
355354
356355 _use_scoped_temp_object = (
357- conn ._session_parameters .get (
358- _PYTHON_SNOWPARK_USE_SCOPED_TEMP_OBJECTS_STRING , False
359- )
356+ conn ._session_parameters .get ("ENABLE_FIX_1375538" , False )
360357 if conn ._session_parameters
361358 else False
362359 )
363360
364- """sfc-gh-yixie: scoped temp stage isn't required out side of a SP.
365- TODO: remove the following line when merging SP connector and Python Connector.
366- Make sure `create scoped temp stage` is supported when it's not run in a SP.
367- """
368- _use_scoped_temp_object = False
369-
370361 if create_temp_table :
371362 warnings .warn (
372363 "create_temp_table is deprecated, we still respect this parameter when it is True but "
You can’t perform that action at this time.
0 commit comments