Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 01:50 AM - edited 01-14-2025 01:59 AM
try this with parameters once:
def get_remote_spark(host: str, cluster_id: str, token: str) -> SparkSession:
from databricks.connect import DatabricksSession
return DatabricksSession.builder.remote(host=host, cluster_id=cluster_id, token=token).getOrCreate()
OR
Run the following command to configure Databricks Connect to use the .databrickscfg file inside CLI:
databricks-connect configure