waynr commented on code in PR #7160:
URL: https://github.com/apache/arrow-rs/pull/7160#discussion_r1964912513
##########
object_store/src/extensions.rs:
##########
@@ -0,0 +1,257 @@
+use std::{
+ any::{Any, TypeId},
+ collections::HashMap,
+ sync::Arc,
+};
+
+/// Trait that must be implemented by extensions.
+pub trait Extension: std::fmt::Debug + Send + Sync {
Review Comment:
For what it's worth, another use case aside from tracing spans that
@crepererum mentioned to me was passing file size hints via `GetOptions` to a
caching layer to avoid extraneous `HEAD` requests in certain use cases.
--
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]