Python databricks sql.connect takes 10minutes exact to connect to Serverless SQL Datawarehouse
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2024 08:33 AM
Have tried this with both the SQL Warehouse up and running and turned off. The connection eventually is made and works without issue, but the initial connect() takes 10minutes to establish.
No other connectivity issues between the box and the Warehouse. And it is a consistent 10minutes. Any thoughts are much appreciated.
Python 64-bit 3.12
Databricks-sql-connector 3.2
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 11:16 AM
@Retired_mod thank you for the reply, it seems the issue came down to the script was running with Python 3.12 and I should have been using 3.11.9

