mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-06 03:42:57 +00:00
implement mirroring object store (#537)
This PR implements a mirroring object store and allows and table to be mirrored to a local path when param `mirroredStore` is set in the url
This commit is contained in:
@@ -195,7 +195,7 @@ fn database_open_table(mut cx: FunctionContext) -> JsResult<JsPromise> {
|
||||
|
||||
let (deferred, promise) = cx.promise();
|
||||
rt.spawn(async move {
|
||||
let table_rst = database.open_table_with_params(&table_name, ¶ms).await;
|
||||
let table_rst = database.open_table_with_params(&table_name, params).await;
|
||||
|
||||
deferred.settle_with(&channel, move |mut cx| {
|
||||
let js_table = JsTable::from(table_rst.or_throw(&mut cx)?);
|
||||
|
||||
Reference in New Issue
Block a user