Skip to content
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

Clarify list_directory behavior #307

Open
simleo opened this issue May 10, 2018 · 0 comments
Open

Clarify list_directory behavior #307

simleo opened this issue May 10, 2018 · 0 comments
Assignees

Comments

@simleo
Copy link
Member

simleo commented May 10, 2018

What happens if list_directory(path) is called on a file? list_directory calls org.apache.hadoop.fs.FileSystem.listStatus, which also works for files: in this case, the returned array contains only one FileStatus object, containing info about path itself. We should clarify this in the docs.

@simleo simleo self-assigned this May 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant