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

Ignore writer shutdown error #271

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Ignore writer shutdown error #271

merged 2 commits into from
Sep 25, 2024

Conversation

fsdvh
Copy link
Collaborator

@fsdvh fsdvh commented Sep 25, 2024

Ignore writer already closed error

@github-actions github-actions bot added the core label Sep 25, 2024
.map_err(|_| internal_datafusion_err!("Error encountered while finalizing writes! Partial results may have been written to ObjectStore!"))?;
if let Err(e) = writer.shutdown().await {
// ignore if writer already closed
if e.kind() != std::io::ErrorKind::InvalidInput {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add a warning here as well.

If this is a quick fix we need for now then it's fine but I don't think we can upstream this as it's not valid in all cases.

@fsdvh fsdvh merged commit 7a23ad6 into v39 Sep 25, 2024
40 of 46 checks passed
@fsdvh fsdvh deleted the v39.0.0-cx23 branch September 25, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants