-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-15121: [C++] Implement max recursion on GcsFileSystem
Recursive listing without limit is about as expensive as only listing the top-level directories in GCS. Therefore, it is just *more* efficient to filter the results on the client-side, as this requires fewer request than listing only only 0, 1, or N levels in a directory hierarchy. I also improved the tests to verify no objects with similar prefixes are returned, for example, when listing objects starting with 'aaa' we do not want 'aaab', but we want 'aaa/b'. Closes #11969 from coryan/ARROW-15121-gcsfs-implement-max-recursion Authored-by: Carlos O'Ryan <coryan@google.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
- Loading branch information
Showing
4 changed files
with
74 additions
and
14 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
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