jonathanc-n commented on code in PR #17999:
URL: https://github.com/apache/datafusion/pull/17999#discussion_r2422561562


##########
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:
   Yes, but I am very open to doing it another way if there is a more standard 
way to deal with this.



-- 
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]

Reply via email to