Skip to content

Commit

Permalink
Defer import
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Feb 1, 2023
1 parent be5c5ad commit 0041e58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distributed/shuffle/_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from dask.base import tokenize
from dask.core import keys_in_tasks
from dask.dataframe.core import Index, new_dd_object
from dask.dataframe.shuffle import partitioning_index
from dask.highlevelgraph import HighLevelGraph
from dask.layers import Layer
Expand Down Expand Up @@ -37,6 +36,8 @@ def hash_join_p2p(
suffixes=("_x", "_y"),
indicator=False,
):
from dask.dataframe.core import Index, new_dd_object

if npartitions is None:
npartitions = max(lhs.npartitions, rhs.npartitions)

Expand Down

0 comments on commit 0041e58

Please sign in to comment.