Skip to content

Commit

Permalink
Fix 'Builder' object has no attribute 'sdk_config' error (#86)
Browse files Browse the repository at this point in the history
Fix 'Builder' object has no attribute 'sdk_config' error.
  • Loading branch information
bishwajit-db authored Apr 1, 2024
1 parent 830cc65 commit 12f6d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/lsql/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def __init__(self, ws: WorkspaceClient):
DatabricksSession,
)

spark = DatabricksSession.builder.sdk_config(ws.config).getOrCreate()
spark = DatabricksSession.builder.sdkConfig(ws.config).getOrCreate()
super().__init__(spark, ws.config.debug_truncate_bytes)
except ImportError as e:
raise RuntimeError("Please run `pip install databricks-connect`") from e
Expand Down

0 comments on commit 12f6d34

Please sign in to comment.