This is an automated email from the ASF dual-hosted git repository.
wayne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 97441cca55 fix: recursive initialize method (#8937)
97441cca55 is described below
commit 97441cca553304d9a2d939ee744425de2efb54fc
Author: Ruihang Xia <[email protected]>
AuthorDate: Mon Jan 22 10:46:25 2024 +0800
fix: recursive initialize method (#8937)
Signed-off-by: Ruihang Xia <[email protected]>
---
datafusion/execution/src/object_store.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/datafusion/execution/src/object_store.rs
b/datafusion/execution/src/object_store.rs
index 7626f8bef1..c0c58a87dc 100644
--- a/datafusion/execution/src/object_store.rs
+++ b/datafusion/execution/src/object_store.rs
@@ -180,7 +180,8 @@ impl DefaultObjectStoreRegistry {
/// Default without any backend registered.
#[cfg(target_arch = "wasm32")]
pub fn new() -> Self {
- Self::default()
+ let object_stores: DashMap<String, Arc<dyn ObjectStore>> =
DashMap::new();
+ Self { object_stores }
}
}