Skip to content

Commit

Permalink
Update dbconnect comment
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Sayutina <[email protected]>
  • Loading branch information
MigQ2 and cdkrot authored Oct 5, 2023
1 parent 5229449 commit 9169797
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kedro-datasets/kedro_datasets/spark/spark_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@

def _get_spark() -> Any:
"""
Returns the SparkSession, we need this wrapper because the SparkSession
is retrieved differently in databricks-connect vs a Notebook in web UI
Returns the SparkSession. In case databricks-connect is available we use it for
extended configuration mechanisms and notebook compatibility,
otherwise we use classic pyspark.
"""
try:
# When using databricks-connect >= 13.0.0 (a.k.a databricks-connect-v2)
Expand Down

0 comments on commit 9169797

Please sign in to comment.