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

Method OpenAppendStream

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

Source from the content-addressed store, hash-verified

3464}
3465
3466Result<std::shared_ptr<io::OutputStream>> S3FileSystem::OpenAppendStream(
3467 const std::string& path, const std::shared_ptr<const KeyValueMetadata>& metadata) {
3468 // XXX Investigate UploadPartCopy? Does it work with source == destination?
3469 // https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
3470 // (but would need to fall back to GET if the current data is < 5 MB)
3471 return Status::NotImplemented("It is not possible to append efficiently to S3 objects");
3472}
3473
3474// -----------------------------------------------------------------------
3475// Initialization and finalization

Callers 5

TEST_FFunction · 0.45
test_util.ccFile · 0.45
TEST_FFunction · 0.45

Calls 1

NotImplementedFunction · 0.50

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36