mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fix from Dask bug in Datasets (#19409)
This commit is contained in:
parent
07064cddf9
commit
acfbf4c170
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ def from_dask(df: "dask.DataFrame") -> Dataset[ArrowRow]:
|
||||||
|
|
||||||
partitions = df.to_delayed()
|
partitions = df.to_delayed()
|
||||||
persisted_partitions = dask.persist(*partitions, scheduler=ray_dask_get)
|
persisted_partitions = dask.persist(*partitions, scheduler=ray_dask_get)
|
||||||
return from_pandas(
|
return from_pandas_refs(
|
||||||
[next(iter(part.dask.values())) for part in persisted_partitions])
|
[next(iter(part.dask.values())) for part in persisted_partitions])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue