Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only import BlazingSQL as necessary #109

Merged
merged 1 commit into from
Nov 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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_config_options():
Expand Down Expand Up @@ -110,6 +109,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