We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 594a636 commit 2b9ec8aCopy full SHA for 2b9ec8a
1 file changed
vortex-jni/src/object_store.rs
@@ -33,10 +33,9 @@ pub(crate) fn object_store_fs(
33
handle: Handle,
34
) -> VortexResult<FileSystemRef> {
35
let object_store = make_object_store(url, properties)?;
36
- Ok(Arc::new(Compat::new(ObjectStoreFileSystem::new(
37
- object_store,
38
- handle,
39
- ))))
+ let object_store = Arc::new(Compat::new(object_store)) as Arc<dyn ObjectStore>;
+
+ Ok(Arc::new(ObjectStoreFileSystem::new(object_store, handle)))
40
}
41
42
#[expect(clippy::cognitive_complexity)]
0 commit comments