Skip to content

Commit

Permalink
Only import BlazingSQL as necessary (#109)
Browse files Browse the repository at this point in the history
BlazingSQL is broken: BlazingDB/blazingsql#1037

This workaround allows the repo to work when BlazingSQL isn't enabled.
  • Loading branch information
esoha-nvidia authored Nov 6, 2020
1 parent 68b2031 commit 58bd34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpcx_bb/xbb_tools/cluster_startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import dask
from dask.distributed import Client
from dask.utils import parse_bytes
from blazingsql import BlazingContext


def get_bsql_config_options():
Expand Down Expand Up @@ -127,6 +126,7 @@ def maybe_create_worker_directories(dask_worker):

bc = None
if create_blazing_context:
from blazingsql import BlazingContext
bc = BlazingContext(
dask_client=client,
pool=os.environ.get("BLAZING_POOL", False),
Expand Down

0 comments on commit 58bd34d

Please sign in to comment.