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

Function GetBlockList

cpp/src/arrow/filesystem/azurefs.cc:967–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965}
966
967Result<Blobs::Models::GetBlockListResult> GetBlockList(
968 std::shared_ptr<Blobs::BlockBlobClient> block_blob_client) {
969 try {
970 return block_blob_client->GetBlockList().Value;
971 } catch (Core::RequestFailedException& exception) {
972 return ExceptionToStatus(
973 exception, "GetBlockList failed for '", block_blob_client->GetUrl(),
974 "'. Cannot write to a file without first fetching the existing block list.");
975 }
976}
977
978Status CommitBlockList(std::shared_ptr<Storage::Blobs::BlockBlobClient> block_blob_client,
979 const std::vector<std::string>& block_ids,

Callers

nothing calls this directly

Calls 1

ExceptionToStatusFunction · 0.85

Tested by

no test coverage detected