This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git
The following commit(s) were added to refs/heads/main by this push:
new 44e258c Add A "upgrading to 0.13.0" guide in docs (#584)
44e258c is described below
commit 44e258cd592d6007a69315fd334beb396140a4f2
Author: Andrew Lamb <[email protected]>
AuthorDate: Fri Dec 19 08:59:12 2025 -0500
Add A "upgrading to 0.13.0" guide in docs (#584)
* Add upgrade guide
* Add another example
* Update src/lib.rs
Co-authored-by: Copilot <[email protected]>
* Update src/lib.rs
Co-authored-by: Copilot <[email protected]>
* Update src/lib.rs
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
---
src/lib.rs | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 7afd33b..5ad9d32 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -706,7 +706,7 @@ pub type MultipartId = String;
/// --> datafusion/datasource/src/url.rs:993:14
/// ```
///
-/// 2. Remove any (now) redundant implementations (such as `ObjectStore::put`)
from any
+/// 2. Remove any (now) redundant implementations (such as `ObjectStore::put`)
from any
/// `ObjectStore` implementations to resolve the error
///
/// ```text
@@ -721,6 +721,20 @@ pub type MultipartId = String;
/// 4. Combine `ObjectStore::copy` and `ObjectStore::copy_if_not_exists`
implementations into
/// [`ObjectStore::copy_opts`] (see documentation on that method for
details and examples)
///
+/// 5. Update `object_store::Error::NotImplemented` to include the name of the
missing method
+///
+/// For example, change instances of
+/// ```text
+/// object_store::Error::NotImplemented
+/// ```
+/// to
+/// ```
+/// object_store::Error::NotImplemented {
+/// operation: "put".to_string(),
+/// implementer: "RequestCountingObjectStore".to_string(),
+/// };
+/// ```
+///
#[async_trait]
pub trait ObjectStore: std::fmt::Display + Send + Sync + Debug + 'static {
/// Save the provided `payload` to `location` with the given options