-
Notifications
You must be signed in to change notification settings - Fork 850
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
Add a custom implementation LocalFileSystem::list_with_offset
#7019
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Adam Reeve <[email protected]>
The initial work for this PR was done by @dplasto, who reported the issue and provided an initial implementation. Further suggestions were provided by @adamreeve . |
It would appear this is legitimately failing CI |
Thanks @corwinjoy and @tustvold -- marking this as a draft as we work through the test failures |
I'm not sure what is happening with the CI. It seems to be failing
formatting. But, I ran 'cargo format' and clippy as specified in
Contributing.md so I am not sure what is wrong.
…On Sat, Jan 25, 2025, 9:14 AM Andrew Lamb ***@***.***> wrote:
Thanks @corwinjoy <https://github.com/corwinjoy> and @tustvold
<https://github.com/tustvold> -- marking this as a draft as we work
through the test failures
—
Reply to this email directly, view it on GitHub
<#7019 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBF42SFNON4OYCDVEG36AT2MPA6RAVCNFSM6AAAAABV2WCNBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGAZTINRXGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Are you running from the arrow-rs directory or the object_store directory. When I run |
Ah, thanks for the clarification @etseidl! From the guidelines I didn't realize that I had to run these commands in the object-store rather than the arrow-rs directory. Doing that, I do get suggested changes which I have applied. Hopefully this will clear the CI checks. |
The emulator tests appear to be failing: https://github.com/apache/arrow-rs/actions/runs/12970828706/job/36180799417?pr=7019
|
…or testing rather than pointing to existing dir.
OK. I have changed this test to use a temporary test and files which should make it more portable. We will see what the emulator says about this. |
Looks like the tests are good |
This PR looks ready for review to me. @corwinjoy shall we mark it as ready for review? |
@alamb Yes please. Mark it as ready for review. |
Which issue does this PR close?
Closes #7018.
Rationale for this change
Performance enhancement needed for network file system as described in the PR.
What changes are included in this PR?
Add an implementation
LocalFileSystem::list_with_offset
so that it can intelligently scan files and drastically reduce the number of statx system calls. Basically, we add a prefilter to pull only what is needed in-place.Are there any user-facing changes?
None.