Skip to content

Fix recursive file listing in volumes#1261

Open
MeinAccount wants to merge 1 commit intodatabricks:mainfrom
MeinAccount:fix_dbfs_list_recursive
Open

Fix recursive file listing in volumes#1261
MeinAccount wants to merge 1 commit intodatabricks:mainfrom
MeinAccount:fix_dbfs_list_recursive

Conversation

@MeinAccount
Copy link

What changes are proposed in this pull request?

Fix recursive file listing on volumes. Fixes #1260 . The new code is analogous to _DbfsPath, were the recursion also happens on file.path.

How is this tested?

Manually tested on a volume with sub-sub-directories using

print(list(client.dbfs.list("/Volumes/...", recursive=True)))

Signed-off-by: Magnus Kühn <magnus.khn@gmail.com>
@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1261
  • Commit SHA: cfe463971ce468ca68f057537dc9771d4abffb48

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ISSUE] dbfs.list recurive fails using multiple subdirectories

1 participant