-
Notifications
You must be signed in to change notification settings - Fork 167
[DataPipe] Fix OnDiskCacheHolder to list all files for decompressing operations #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…perations [ghstack-poisoned]
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. [ghstack-poisoned]
@@ -137,6 +137,30 @@ def _read_and_decode(x): | |||
self.assertTrue(os.path.exists(expected_csv_path)) | |||
self.assertEqual(expected_csv_path, csv_path) | |||
|
|||
# Cache decompressed archive but only check root directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following test won't pass with previous implementation.
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. Differential Revision: [D34085743](https://our.internmc.facebook.com/intern/diff/D34085743) [ghstack-poisoned]
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. Differential Revision: [D34085743](https://our.internmc.facebook.com/intern/diff/D34085743) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. Differential Revision: [D34085743](https://our.internmc.facebook.com/intern/diff/D34085743) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…ompressing operations" Add `FileLister` to make sure `OnDiskCacheHolder` can list all of files after any 1-to-N operations like decompression. Differential Revision: [D34085743](https://our.internmc.facebook.com/intern/diff/D34085743) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
Add
FileLister
to make sureOnDiskCacheHolder
can list all of files after any 1-to-N operations like decompression.Differential Revision: D34085743