Skip to content

Commit

Permalink
save progress
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Nov 17, 2024
1 parent 75d9a50 commit b9410c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/shuffle/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,14 @@ impl ExecutionPlan for ShuffleReaderExec {
)))
}
Err(e) => {
// TODO need to distinguish between file not existing and other errors
println!("Download failed: {}", e);
let error_message = e.to_string();
if error_message.contains("NotFound")
|| error_message.contains("NoSuchKey")
{
// this is fine
} else {
println!("Download failed: {}", e);
}
Ok(None)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/shuffle/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl IPCWriter {

let object_store_path = ObjectStorePath::from_filesystem_path(&self.path)?;

// disabled due to error "Your proposed upload is smaller than the minimum allowed object size"
// TODO with multipart, we need to upload in chunks of at least 5 MB
let multi_part_enabled = false;

// TODO make threshold configurable
Expand Down

0 comments on commit b9410c4

Please sign in to comment.