-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ADLS Gen2 FileSystemClient.get_paths() returns only 5000 paths (1 page in PageIterator) #16531
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sumantmehtams. Issue Details
Describe the bug To Reproduce
Expected behavior
|
Thanks for the feedback, we’ll investigate asap. |
Hi @siarblack, the server returns/defaults to 5000 paths when you do a Let me know if this works :) |
Hi @tasherif-msft ! I guess this is because of |
Hi @siarblack I will keep you updated. Sorry for the inconvenience! |
Hi @siarblack the fix got merged and we will be doing a patch release for this very soon. I will keep you updated. |
Hi @siarblack, datalake 12.2.3 has been released! |
Thanks a lot @tasherif-msft for so fast and effective response! |
@siarblack my pleasure :) sorry for the inconvenience! |
Describe the bug
After getting
FileSystemClient
of particular container in ADLS Gen2, that contains more than 5000 files & folders, I am trying to retrieve all paths from this container usingget_paths()
method, which returns me the iterator, that contains only 5000 items ofPathProperties
or only 1 page in case I am usingby_page()
method.To Reproduce
Steps to reproduce the behavior:
DataLakeServiceClient
with storage account key as credential.FileSystemClient
of Container which contains >5000 files & folders usingget_file_system_client()
method.get_paths()
method to get thePathProperties
iterator.by_pages()
method.Expected behavior
I excpect to get the iterator of
PathProperties
with correct number of items corresponding to the particular container (>5000).Optional: I excpect to get the
PageIterator
with correct number pages (>1) in case of container contains >5000 paths.Screenshots


The text was updated successfully, but these errors were encountered: