File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 5454
5555import dask
5656import dask .utils
57+ from dask ._expr import LLGExpr
5758from dask ._task_spec import DependenciesMapping , GraphNode , convert_legacy_graph
5859from dask .core import istask , validate_key
5960from dask .typing import Key , no_default
@@ -4877,9 +4878,12 @@ async def update_graph(
48774878
48784879 materialization_done = time ()
48794880 logger .debug ("Materialization done. Got %i tasks." , len (dsk ))
4881+ # Most/all other expression types are implementing their own
4882+ # culling. For LLGExpr we just don't know
4883+ explicit_culling = isinstance (expr , LLGExpr )
48804884 del expr
4881-
4882- dsk = _cull (dsk , keys )
4885+ if explicit_culling :
4886+ dsk = _cull (dsk , keys )
48834887
48844888 if not internal_priority :
48854889 internal_priority = await offload (dask .order .order , dsk = dsk )
You can’t perform that action at this time.
0 commit comments