Skip to content

Commit

Permalink
Fix 'Builder' object is not callable error (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
bishwajit-db authored Mar 24, 2024
1 parent 2f3a6aa commit 13f0e93
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 @@ -240,7 +240,7 @@ def __init__(self, ws: WorkspaceClient):
DatabricksSession,
)

spark = DatabricksSession.builder().sdk_config(ws.config).getOrCreate()
spark = DatabricksSession.builder.sdk_config(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 13f0e93

Please sign in to comment.