-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update io util to convert path like object to string (#8275)
Fixes failing dask-cudf s3 test introduced from changes to `fsspec.stringify_path` in their 2021.5.0 release. Problem description: While reading remote files with dask-cudf the `path_or_object` param is populated with remote file objects such as `s3fs.s3File` or `gcsfs.GCSFile`. Updates to the `fsspec.stringify_path` util results in returning the string path for such objects resulting in cudf looking for those file paths locally. Fix: Fix uses one of the branches from the original `stringify_path` util that checks if a `path like` object implement the `fsspath` protocol and gets the string representation from that. Authors: - Ayush Dattagupta (https://github.com/ayushdg) Approvers: - Keith Kraus (https://github.com/kkraus14) URL: #8275
- Loading branch information
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters