mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-07 12:22:59 +00:00
chore: bump to 0.10.8 (#1187)
This commit is contained in:
@@ -14,10 +14,10 @@ keywords = ["lancedb", "lance", "database", "vector", "search"]
|
||||
categories = ["database-implementations"]
|
||||
|
||||
[workspace.dependencies]
|
||||
lance = { "version" = "=0.10.7", "features" = ["dynamodb"] }
|
||||
lance-index = { "version" = "=0.10.7" }
|
||||
lance-linalg = { "version" = "=0.10.7" }
|
||||
lance-testing = { "version" = "=0.10.7" }
|
||||
lance = { "version" = "=0.10.8", "features" = ["dynamodb"] }
|
||||
lance-index = { "version" = "=0.10.8" }
|
||||
lance-linalg = { "version" = "=0.10.8" }
|
||||
lance-testing = { "version" = "=0.10.8" }
|
||||
# Note that this one does not include pyarrow
|
||||
arrow = { version = "50.0", optional = false }
|
||||
arrow-array = "50.0"
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "lancedb"
|
||||
version = "0.6.6"
|
||||
dependencies = [
|
||||
"deprecation",
|
||||
"pylance==0.10.7",
|
||||
"pylance==0.10.8",
|
||||
"ratelimiter~=1.0",
|
||||
"retry>=0.9.2",
|
||||
"tqdm>=4.27.0",
|
||||
|
||||
@@ -1304,14 +1304,7 @@ impl TableInternal for NativeTable {
|
||||
}
|
||||
|
||||
async fn count_rows(&self, filter: Option<String>) -> Result<usize> {
|
||||
let dataset = self.dataset.get().await?;
|
||||
if let Some(filter) = filter {
|
||||
let mut scanner = dataset.scan();
|
||||
scanner.filter(&filter)?;
|
||||
Ok(scanner.count_rows().await? as usize)
|
||||
} else {
|
||||
Ok(dataset.count_rows().await?)
|
||||
}
|
||||
Ok(self.dataset.get().await?.count_rows(filter).await?)
|
||||
}
|
||||
|
||||
async fn add(
|
||||
|
||||
Reference in New Issue
Block a user