Fix node ffi build (#191)

This commit is contained in:
Lei Xu
2023-06-13 19:31:29 -07:00
committed by GitHub
parent fbc44d4243
commit d00f4e51d0
2 changed files with 2 additions and 1 deletions

View File

@@ -97,6 +97,7 @@ fn get_index_params_builder(
let ivf_params = IvfBuildParams {
num_partitions: np,
max_iters,
centroids: None,
};
index_builder.ivf_params(ivf_params)
});

View File

@@ -69,7 +69,7 @@ impl Database {
pub async fn table_names(&self) -> Result<Vec<String>> {
let f = self
.object_store
.read_dir("/")
.read_dir(self.uri.as_str())
.await?
.iter()
.map(|fname| Path::new(fname))