Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-ma committed Jul 30, 2024
1 parent 96a2afd commit e60c27e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/core/shuffle/LocalPartitionWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,9 @@ arrow::Status LocalPartitionWriter::stop(ShuffleWriterMetrics* metrics) {
ARROW_ASSIGN_OR_RAISE(endInFinalFile, dataFileOs_->Tell());
partitionLengths_[pid] = endInFinalFile - startInFinalFile;
}
// Close Final file. Clear buffered resources.
RETURN_NOT_OK(clearResource());
}

// Close Final file. Clear buffered resources.
RETURN_NOT_OK(clearResource());
// Check all spills are merged.
auto s = 0;
for (const auto& spill : spills_) {
Expand Down

0 comments on commit e60c27e

Please sign in to comment.