alamb commented on code in PR #17999:
URL: https://github.com/apache/datafusion/pull/17999#discussion_r2448969001
##########
datafusion/execution/src/object_store.rs:
##########
@@ -154,6 +154,10 @@ pub trait ObjectStoreRegistry: Send + Sync +
std::fmt::Debug + 'static {
store: Arc<dyn ObjectStore>,
) -> Option<Arc<dyn ObjectStore>>;
+ /// Deregister the store previously registered with the same key. Returns
the
+ /// deregistered store if it existed.
+ fn deregister_store(&self, url: &Url) -> Result<Arc<dyn ObjectStore>>;
Review Comment:
I suggest a good return value would be returning an unimplemented error
That would be backwards compatible and non API breaking
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]