Skip to content

Commit 9230660

Browse files
committed
Undo removal of GcsFileSystem::OpenAppendStream
1 parent d420fa7 commit 9230660

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpp/src/arrow/filesystem/gcsfs.cc

+5
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,11 @@ Result<std::shared_ptr<io::OutputStream>> GcsFileSystem::OpenOutputStream(
957957
return impl_->OpenOutputStream(p, metadata);
958958
}
959959

960+
Result<std::shared_ptr<io::OutputStream>> GcsFileSystem::OpenAppendStream(
961+
const std::string&, const std::shared_ptr<const KeyValueMetadata>&) {
962+
return Status::NotImplemented("Append is not supported in GCS");
963+
}
964+
960965
Result<std::shared_ptr<GcsFileSystem>> GcsFileSystem::Make(
961966
const GcsOptions& options, const io::IOContext& io_context) {
962967
// Cannot use `std::make_shared<>` as the constructor is private.

0 commit comments

Comments
 (0)