-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
The current implementation ignores the max_recursion attribute in the selector. Seems like a useful thing to do.
In GCS it is more expensive to do ls foo/ and then recurse over the results than to do a ls -R foo/. The running time of a (recursive or non-recursive) operation is proportional to the number of objects in the prefix, not to the number of objects returned.
Therefore, the implementation will probably list all the objects and directories, and simply filter out those that are "too deep" in the recursion hierarchy.
Reporter: Carlos O'Ryan / @coryan
Assignee: Carlos O'Ryan / @coryan
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-15121. Please see the migration documentation for further details.