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

Poll next open file future while scanning current file #5800

Merged
merged 4 commits into from
Apr 4, 2023

Conversation

nenorbot
Copy link
Contributor

@nenorbot nenorbot commented Mar 30, 2023

Which issue does this PR close?

Closes #5799.

What changes are included in this PR?

Next file opening future will now be polled while the current file is being scanned.

Are these changes tested?

I did not add any new tests as I believe this change should be covered by existing tests, but I am happy to add additional tests that I didn't think of.

Are there any user-facing changes?

I believe not.

@github-actions github-actions bot added the core Core DataFusion crate label Mar 30, 2023
Copy link
Contributor

@thinkharderdev thinkharderdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions but LGTM. Thanks!

@thinkharderdev thinkharderdev merged commit 4d0c9fe into apache:main Apr 4, 2023
fsdvh pushed a commit to coralogix/arrow-datafusion that referenced this pull request Apr 21, 2023
* Poll next open file future while scanning current file

* Update datafusion/core/src/physical_plan/file_format/file_stream.rs

Co-authored-by: Dan Harris <[email protected]>

* Update datafusion/core/src/physical_plan/file_format/file_stream.rs

Co-authored-by: Dan Harris <[email protected]>

* Update file_stream.rs

---------

Co-authored-by: Dan Harris <[email protected]>
(cherry picked from commit 4d0c9fe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileStream does not poll next file open future
2 participants