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

Parallelise collect_partitioned #6109

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Apr 24, 2023

Which issue does this PR close?

Closes #.

Rationale for this change

This makes it consistent with RepartitionExec and CoalescePartitionsExec

What changes are included in this PR?

Are these changes tested?

Covered by existing tests

Are there any user-facing changes?

})?
});

futures::future::try_join_all(handles).await
Copy link
Contributor Author

@tustvold tustvold Apr 24, 2023

Choose a reason for hiding this comment

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

Using try_join_all will abort on first error as opposed to join_all which would run the execution to completion, and then discard everything but the first error if any

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me -- cc @metesynnada this I think is related to #6049

@alamb
Copy link
Contributor

alamb commented Apr 24, 2023

Thank you @tustvold

@Dandandan Dandandan merged commit 0d93ded into apache:main Apr 25, 2023
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.

3 participants