Skip to content

Commit

Permalink
Updated fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Dec 19, 2024
1 parent b2202c7 commit 8e759db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/databricks/sql/thrift_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def __init__(
)

# Cloud fetch
self._use_cloud_fetch = kwargs.get("use_cloud_fetch", True)

self.max_download_threads = kwargs.get("max_download_threads", 10)

self._ssl_options = ssl_options
Expand Down Expand Up @@ -900,6 +898,8 @@ def execute_command(
):
assert session_handle is not None

self._use_cloud_fetch = use_cloud_fetch

spark_arrow_types = ttypes.TSparkArrowTypes(
timestampAsArrow=self._use_arrow_native_timestamps,
decimalAsArrow=self._use_arrow_native_decimals,
Expand Down

0 comments on commit 8e759db

Please sign in to comment.