From 2dc2a13136fa4f0aa0831b6bc3db51bfb0700cd4 Mon Sep 17 00:00:00 2001 From: Matt Topol Date: Fri, 8 Nov 2024 09:15:56 +0100 Subject: [PATCH] Update cpp/src/arrow/c/bridge.h Co-authored-by: Benjamin Kietzman --- cpp/src/arrow/c/bridge.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/arrow/c/bridge.h b/cpp/src/arrow/c/bridge.h index 7f6e0bb03cabc..41d4cd752906c 100644 --- a/cpp/src/arrow/c/bridge.h +++ b/cpp/src/arrow/c/bridge.h @@ -425,7 +425,8 @@ class AsyncErrorDetail : public StatusDetail { int code() const { return code_; } // returns any metadata that was returned with the error, likely in a // key-value format similar to ArrowSchema metadata - const std::string& ErrorMetadata() const { return metadata_; } + const std::string& ErrorMetadataString() const { return metadata_; } + std::shared_ptr ErrorMetadata() const; private: int code_{0};