yahoNanJing commented on PR #5543:
URL: 
https://github.com/apache/arrow-datafusion/pull/5543#issuecomment-1463694623

   > Why can't whatever is creating the inner ObjectStore that is passed to 
https://github.com/yahoNanJing/arrow-ballista/blob/dev-20230302/ballista/core/src/cache_layer/object_store/file.rs#L45
 just also create the FileCacheObjectStore and register the 
FileCacheObjectStore directly? This is the same story as for other ObjectStore 
decorators that add metrics, tracing, etc...
   
   The reason is to make the cache layer transparent for the caller. To achieve 
this, when invoking `get_by_url`, we need to get a cache layer wrapped 
`ObjectStore`


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

Reply via email to