Skip to content

Commit

Permalink
Fix bug with spark not being instantiated
Browse files Browse the repository at this point in the history
  • Loading branch information
nrccua-timr committed Mar 15, 2024
1 parent dededb2 commit a23d084
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ History
=======


v0.20.14 (2024-03-15)

* Fix bug with spark not being instantiated.


v0.20.13 (2024-03-15)

* Use spark df.toPandas() function instead of private function converted spark df -> pandas -> polars.
Expand Down
1 change: 1 addition & 0 deletions aioradio/ds_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

try:
from databricks.connect import DatabricksSession
spark = DatabricksSession.builder.getOrCreate()
except ImportError:
spark = SparkSession.builder.getOrCreate()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
long_description = fileobj.read()

setup(name='aioradio',
version='0.20.13',
version='0.20.14',
description='Generic asynchronous i/o python utilities for AWS services (SQS, S3, DynamoDB, Secrets Manager), Redis, MSSQL (pyodbc), JIRA and more',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a23d084

Please sign in to comment.