MCPcopy Create free account
hub / github.com/apache/arrow / CommitCurrentPart

Method CommitCurrentPart

cpp/src/arrow/filesystem/s3fs.cc:1957–1966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1955 // Upload-related helpers
1956
1957 Status CommitCurrentPart() {
1958 if (!IsMultipartCreated()) {
1959 RETURN_NOT_OK(CreateMultipartUpload());
1960 }
1961
1962 ARROW_ASSIGN_OR_RAISE(auto buf, current_part_->Finish());
1963 current_part_.reset();
1964 current_part_size_ = 0;
1965 return UploadPart(buf);
1966 }
1967
1968 Status UploadUsingSingleRequest() {
1969 std::shared_ptr<Buffer> buf;

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected