File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
- Other: Introduce SQLAlchemy dialect compliance test suite and enumerate all excluded tests
6
6
- Add integration tests for Databricks UC Volumes ingestion queries
7
7
- Add ` _retry_max_redirects ` config
8
+ - Enable cloud fetch by default. To disable, set ` use_cloud_fetch=False ` when building ` databricks.sql.client ` .
8
9
9
10
## 2.9.3 (2023-08-24)
10
11
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ def read(self) -> Optional[OAuthToken]:
199
199
self ._session_handle = self .thrift_backend .open_session (
200
200
session_configuration , catalog , schema
201
201
)
202
- self .use_cloud_fetch = kwargs .get ("use_cloud_fetch" , False )
202
+ self .use_cloud_fetch = kwargs .get ("use_cloud_fetch" , True )
203
203
self .open = True
204
204
logger .info ("Successfully opened session " + str (self .get_session_id_hex ()))
205
205
self ._cursors = [] # type: List[Cursor]
Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ def execute_command(
826
826
max_bytes ,
827
827
lz4_compression ,
828
828
cursor ,
829
- use_cloud_fetch = False ,
829
+ use_cloud_fetch = True ,
830
830
parameters = [],
831
831
):
832
832
assert session_handle is not None
You can’t perform that action at this time.
0 commit comments