- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 08:18 AM
Following these instructions, at https://docs.databricks.com/en/dev-tools/databricks-connect/python/install.html#configure-a-connecti...
There seems to be an issue with the example code.
from databricks.connect import DatabricksSession as SparkSession spark = DatabricksSession.builder.serverless(True).getOrCreate()
I will get an error that says AttributeError: 'Builder' object has no attribute 'serverless'
Is this a known issue?
Thank you!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 03:30 AM
What version of Databricks connect do you use? Databricks connect for serverless compute is available from version 15.1.0, so maybe you have outdated version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 03:30 AM
What version of Databricks connect do you use? Databricks connect for serverless compute is available from version 15.1.0, so maybe you have outdated version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2024 05:14 AM
Worked! Thank you!

