mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[Test] Fix Dask on Ray 1 TB bug #22431 Open
Fixes a bug. It seems like not df is not working with dataframe
This commit is contained in:
parent
331b71ea8d
commit
42361a1801
1 changed files with 2 additions and 1 deletions
|
@ -57,9 +57,10 @@ def load_dataset(client, data_dir, s3_bucket, nbytes, npartitions):
|
|||
df = None
|
||||
max_retry = 3
|
||||
retry = 0
|
||||
while not df and retry < max_retry:
|
||||
while retry < max_retry:
|
||||
try:
|
||||
df = dd.read_parquet(filenames)
|
||||
break
|
||||
except FileNotFoundError as e:
|
||||
print(f"Failed to load a file. {e}")
|
||||
# Wait a little bit before retrying.
|
||||
|
|
Loading…
Add table
Reference in a new issue