Skip to content

Commit 8e759db

Browse files
committed
Updated fix
1 parent b2202c7 commit 8e759db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/databricks/sql/thrift_backend.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ def __init__(
156156
)
157157

158158
# Cloud fetch
159-
self._use_cloud_fetch = kwargs.get("use_cloud_fetch", True)
160-
161159
self.max_download_threads = kwargs.get("max_download_threads", 10)
162160

163161
self._ssl_options = ssl_options
@@ -900,6 +898,8 @@ def execute_command(
900898
):
901899
assert session_handle is not None
902900

901+
self._use_cloud_fetch = use_cloud_fetch
902+
903903
spark_arrow_types = ttypes.TSparkArrowTypes(
904904
timestampAsArrow=self._use_arrow_native_timestamps,
905905
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)