mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-10 13:52:58 +00:00
Compare commits
1 Commits
python-v0.
...
codex/upda
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf72b26ac |
@@ -16,6 +16,7 @@ rust-version = "1.78.0"
|
|||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
lance = { "version" = "=0.38.3-beta.9", default-features = false, "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance = { "version" = "=0.38.3-beta.9", default-features = false, "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
|
lance-arrow = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-core = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-core = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-datagen = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-datagen = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-file = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-file = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
@@ -28,7 +29,6 @@ lance-table = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" =
|
|||||||
lance-testing = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-testing = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-datafusion = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-datafusion = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-encoding = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
lance-encoding = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
||||||
lance-arrow = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
|
|
||||||
ahash = "0.8"
|
ahash = "0.8"
|
||||||
# Note that this one does not include pyarrow
|
# Note that this one does not include pyarrow
|
||||||
arrow = { version = "56.2", optional = false }
|
arrow = { version = "56.2", optional = false }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.25.3-beta.2"
|
current_version = "0.25.3-beta.1"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lancedb-python"
|
name = "lancedb-python"
|
||||||
version = "0.25.3-beta.2"
|
version = "0.25.3-beta.1"
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
description = "Python bindings for LanceDB"
|
description = "Python bindings for LanceDB"
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ snafu = { workspace = true }
|
|||||||
half = { workspace = true }
|
half = { workspace = true }
|
||||||
lazy_static.workspace = true
|
lazy_static.workspace = true
|
||||||
lance = { workspace = true }
|
lance = { workspace = true }
|
||||||
|
lance-arrow = { workspace = true }
|
||||||
lance-core = { workspace = true }
|
lance-core = { workspace = true }
|
||||||
lance-datafusion.workspace = true
|
lance-datafusion.workspace = true
|
||||||
lance-datagen = { workspace = true }
|
lance-datagen = { workspace = true }
|
||||||
@@ -42,7 +43,6 @@ lance-table = { workspace = true }
|
|||||||
lance-linalg = { workspace = true }
|
lance-linalg = { workspace = true }
|
||||||
lance-testing = { workspace = true }
|
lance-testing = { workspace = true }
|
||||||
lance-encoding = { workspace = true }
|
lance-encoding = { workspace = true }
|
||||||
lance-arrow = { workspace = true }
|
|
||||||
lance-namespace = { workspace = true }
|
lance-namespace = { workspace = true }
|
||||||
lance-namespace-impls = { workspace = true, features = ["dir", "rest"] }
|
lance-namespace-impls = { workspace = true, features = ["dir", "rest"] }
|
||||||
moka = { workspace = true }
|
moka = { workspace = true }
|
||||||
|
|||||||
@@ -1427,10 +1427,6 @@ impl<S: HttpSend> BaseTable for RemoteTable<S> {
|
|||||||
"NOT_SUPPORTED"
|
"NOT_SUPPORTED"
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn storage_options(&self) -> Option<HashMap<String, String>> {
|
|
||||||
None
|
|
||||||
}
|
|
||||||
|
|
||||||
async fn stats(&self) -> Result<TableStatistics> {
|
async fn stats(&self) -> Result<TableStatistics> {
|
||||||
let request = self
|
let request = self
|
||||||
.client
|
.client
|
||||||
|
|||||||
@@ -601,8 +601,6 @@ pub trait BaseTable: std::fmt::Display + std::fmt::Debug + Send + Sync {
|
|||||||
async fn table_definition(&self) -> Result<TableDefinition>;
|
async fn table_definition(&self) -> Result<TableDefinition>;
|
||||||
/// Get the table URI
|
/// Get the table URI
|
||||||
fn dataset_uri(&self) -> &str;
|
fn dataset_uri(&self) -> &str;
|
||||||
/// Get the storage options used when opening this table, if any.
|
|
||||||
async fn storage_options(&self) -> Option<HashMap<String, String>>;
|
|
||||||
/// Poll until the columns are fully indexed. Will return Error::Timeout if the columns
|
/// Poll until the columns are fully indexed. Will return Error::Timeout if the columns
|
||||||
/// are not fully indexed within the timeout.
|
/// are not fully indexed within the timeout.
|
||||||
async fn wait_for_index(
|
async fn wait_for_index(
|
||||||
@@ -1295,13 +1293,6 @@ impl Table {
|
|||||||
self.inner.dataset_uri()
|
self.inner.dataset_uri()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the storage options used when opening this table, if any.
|
|
||||||
///
|
|
||||||
/// Warning: This is an internal API and the return value is subject to change.
|
|
||||||
pub async fn storage_options(&self) -> Option<HashMap<String, String>> {
|
|
||||||
self.inner.storage_options().await
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Get statistics about an index.
|
/// Get statistics about an index.
|
||||||
/// Returns None if the index does not exist.
|
/// Returns None if the index does not exist.
|
||||||
pub async fn index_stats(
|
pub async fn index_stats(
|
||||||
@@ -2626,14 +2617,6 @@ impl BaseTable for NativeTable {
|
|||||||
self.uri.as_str()
|
self.uri.as_str()
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn storage_options(&self) -> Option<HashMap<String, String>> {
|
|
||||||
self.dataset
|
|
||||||
.get()
|
|
||||||
.await
|
|
||||||
.ok()
|
|
||||||
.and_then(|dataset| dataset.storage_options().cloned())
|
|
||||||
}
|
|
||||||
|
|
||||||
async fn index_stats(&self, index_name: &str) -> Result<Option<IndexStatistics>> {
|
async fn index_stats(&self, index_name: &str) -> Result<Option<IndexStatistics>> {
|
||||||
let stats = match self
|
let stats = match self
|
||||||
.dataset
|
.dataset
|
||||||
@@ -2643,7 +2626,7 @@ impl BaseTable for NativeTable {
|
|||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Ok(stats) => stats,
|
Ok(stats) => stats,
|
||||||
Err(lance_core::Error::IndexNotFound { .. }) => return Ok(None),
|
Err(lance::Error::IndexNotFound { .. }) => return Ok(None),
|
||||||
Err(e) => return Err(Error::from(e)),
|
Err(e) => return Err(Error::from(e)),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user