Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Datasets] Handle all Ray errors in task compute strategy. (ray-proje…
…ct#30696) If a Ray error other than a RayTaskError is raised 1. while waiting for map tasks to finish, then we won't properly cancel other map tasks, 2. while waiting for map tasks to be cancelled, then we won't raise the correct (original) task failure exception. This PR fixes this by catching RayError in both cases, which is a superclass of RayTaskError, TaskCancelledError, and WorkerCrashedError (which may be raised during graceful task cancellation due to a Ray Core bug). This should deflake the test_select_columns test.
- Loading branch information