Skip to content

Commit

Permalink
Fix dask-sql dependency (#31)
Browse files Browse the repository at this point in the history
* update fugue and dask

* update

* update
  • Loading branch information
goodwanghan authored May 15, 2021
1 parent 88969ec commit 9a67a0b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Fugue for Kaggle users

## Release History

### 0.3.0

* Fix dask-sql dependency

### 0.2.9

* Update fugue and dask

### 0.2.8

* Update fugue and dask
Expand Down
6 changes: 2 additions & 4 deletions fuggle/execution_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@ def __init__(self, conf: Any = None):
)
super().__init__(conf=configs)
try:
from dask_sql.integrations.fugue import DaskSQLExecutionEngine
from dask_sql.integrations.fugue import DaskSQLEngine

self.set_sql_engine(
KaggleSQLEngineWrapper(self, DaskSQLExecutionEngine(self))
)
self.set_sql_engine(KaggleSQLEngineWrapper(self, DaskSQLEngine(self)))
print("dask-sql is set as the SQL Engine for Dask")
except ImportError:
self.set_sql_engine(KaggleSQLEngineWrapper(self, QPDDaskEngine(self)))
Expand Down
2 changes: 1 addition & 1 deletion fuggle_version/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.9"
__version__ = "0.3.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"pandavro",
],
extras_require={
"dasksql": ["dask-sql==0.3.3"],
"dasksql": ["dask-sql!=0.3.4"],
"blazing": ["fugue-blazing==0.0.3"],
},
classifiers=[
Expand Down

0 comments on commit 9a67a0b

Please sign in to comment.