Compare commits

...

1 Commits

Author SHA1 Message Date
lancedb automation
cbf72b26ac chore: update lance dependency to v0.38.3-beta.9 2025-10-21 20:02:57 +00:00
10 changed files with 59 additions and 58 deletions

65
Cargo.lock generated
View File

@@ -3044,8 +3044,8 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]] [[package]]
name = "fsst" name = "fsst"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-array", "arrow-array",
"rand 0.9.2", "rand 0.9.2",
@@ -4229,8 +4229,8 @@ dependencies = [
[[package]] [[package]]
name = "lance" name = "lance"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-arith", "arrow-arith",
@@ -4293,8 +4293,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-arrow" name = "lance-arrow"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-array", "arrow-array",
"arrow-buffer", "arrow-buffer",
@@ -4312,8 +4312,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-bitpacking" name = "lance-bitpacking"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrayref", "arrayref",
"paste", "paste",
@@ -4322,8 +4322,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-core" name = "lance-core"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-array", "arrow-array",
"arrow-buffer", "arrow-buffer",
@@ -4359,8 +4359,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-datafusion" name = "lance-datafusion"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-array", "arrow-array",
@@ -4389,8 +4389,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-datagen" name = "lance-datagen"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-array", "arrow-array",
@@ -4407,8 +4407,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-encoding" name = "lance-encoding"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-arith", "arrow-arith",
"arrow-array", "arrow-array",
@@ -4445,8 +4445,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-file" name = "lance-file"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-arith", "arrow-arith",
"arrow-array", "arrow-array",
@@ -4479,8 +4479,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-index" name = "lance-index"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-arith", "arrow-arith",
@@ -4542,8 +4542,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-io" name = "lance-io"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-arith", "arrow-arith",
@@ -4583,8 +4583,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-linalg" name = "lance-linalg"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-array", "arrow-array",
"arrow-buffer", "arrow-buffer",
@@ -4607,8 +4607,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-namespace" name = "lance-namespace"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"async-trait", "async-trait",
@@ -4620,8 +4620,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-namespace-impls" name = "lance-namespace-impls"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-ipc", "arrow-ipc",
@@ -4653,8 +4653,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-table" name = "lance-table"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow", "arrow",
"arrow-array", "arrow-array",
@@ -4692,8 +4692,8 @@ dependencies = [
[[package]] [[package]]
name = "lance-testing" name = "lance-testing"
version = "0.38.3-beta.8" version = "0.38.3-beta.9"
source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.8#da0f612dbd4437266486a105c0f16b07dcc2289c" source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.9#5f603515786cdc3b5aadb3313131bf686d5e932b"
dependencies = [ dependencies = [
"arrow-array", "arrow-array",
"arrow-schema", "arrow-schema",
@@ -4743,6 +4743,7 @@ dependencies = [
"http 1.3.1", "http 1.3.1",
"http-body 1.0.1", "http-body 1.0.1",
"lance", "lance",
"lance-arrow",
"lance-core", "lance-core",
"lance-datafusion", "lance-datafusion",
"lance-datagen", "lance-datagen",

View File

@@ -15,19 +15,20 @@ categories = ["database-implementations"]
rust-version = "1.78.0" rust-version = "1.78.0"
[workspace.dependencies] [workspace.dependencies]
lance = { "version" = "=0.38.3-beta.8", default-features = false, "tag" = "v0.38.3-beta.8", "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-core = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "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-datagen = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "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-file = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "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-io = { "version" = "=0.38.3-beta.8", default-features = false, "tag" = "v0.38.3-beta.8", "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-index = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-io = { "version" = "=0.38.3-beta.9", default-features = false, "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
lance-linalg = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-index = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
lance-namespace = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-linalg = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
lance-namespace-impls = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-namespace = { "version" = "=0.38.3-beta.9", "tag" = "v0.38.3-beta.9", "git" = "https://github.com/lancedb/lance.git" }
lance-table = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-namespace-impls = { "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.8", "tag" = "v0.38.3-beta.8", "git" = "https://github.com/lancedb/lance.git" } lance-table = { "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.8", "tag" = "v0.38.3-beta.8", "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-encoding = { "version" = "=0.38.3-beta.8", "tag" = "v0.38.3-beta.8", "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" }
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 }
@@ -64,4 +65,4 @@ semver = "1.0.25"
crunchy = "0.2.4" crunchy = "0.2.4"
chrono = "0.4" chrono = "0.4"
# Workaround for: https://github.com/Lokathor/bytemuck/issues/306 # Workaround for: https://github.com/Lokathor/bytemuck/issues/306
bytemuck_derive = ">=1.8.1, <1.9.0" bytemuck_derive = ">=1.8.1, <1.9.0"

View File

@@ -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 }

View File

@@ -1188,7 +1188,7 @@ mod tests {
use arrow_schema::{DataType, Field, Schema}; use arrow_schema::{DataType, Field, Schema};
use datafusion_physical_plan::stream::RecordBatchStreamAdapter; use datafusion_physical_plan::stream::RecordBatchStreamAdapter;
use futures::{stream, TryStreamExt}; use futures::{stream, TryStreamExt};
use lance::error::{ArrowResult, DataFusionResult}; use lance_core::error::{ArrowResult, DataFusionResult};
use lance_testing::datagen::{BatchGenerator, IncrementingInt32}; use lance_testing::datagen::{BatchGenerator, IncrementingInt32};
use tempfile::tempdir; use tempfile::tempdir;

View File

@@ -12,7 +12,7 @@ use arrow_array::{
use arrow_cast::{can_cast_types, cast}; use arrow_cast::{can_cast_types, cast};
use arrow_schema::{ArrowError, DataType, Field, Schema}; use arrow_schema::{ArrowError, DataType, Field, Schema};
use half::f16; use half::f16;
use lance::arrow::{DataTypeExt, FixedSizeListArrayExt}; use lance_arrow::{DataTypeExt, FixedSizeListArrayExt};
use log::warn; use log::warn;
use num_traits::cast::AsPrimitive; use num_traits::cast::AsPrimitive;
@@ -189,7 +189,7 @@ mod tests {
}; };
use arrow_schema::Field; use arrow_schema::Field;
use half::f16; use half::f16;
use lance::arrow::FixedSizeListArrayExt; use lance_arrow::FixedSizeListArrayExt;
#[test] #[test]
fn test_coerce_list_to_fixed_size_list() { fn test_coerce_list_to_fixed_size_list() {

View File

@@ -18,9 +18,9 @@ use arrow::array::AsArray;
use arrow::datatypes::UInt64Type; use arrow::datatypes::UInt64Type;
use arrow_array::{RecordBatch, UInt64Array}; use arrow_array::{RecordBatch, UInt64Array};
use futures::{StreamExt, TryStreamExt}; use futures::{StreamExt, TryStreamExt};
use lance::arrow::RecordBatchExt;
use lance::dataset::scanner::DatasetRecordBatchStream; use lance::dataset::scanner::DatasetRecordBatchStream;
use lance::error::LanceOptionExt; use lance_arrow::RecordBatchExt;
use lance_core::error::LanceOptionExt;
use lance_core::ROW_ID; use lance_core::ROW_ID;
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::Arc; use std::sync::Arc;

View File

@@ -13,7 +13,7 @@ use arrow_array::{Array, BooleanArray, RecordBatch, UInt64Array};
use arrow_schema::{DataType, Field, Schema}; use arrow_schema::{DataType, Field, Schema};
use datafusion_common::hash_utils::create_hashes; use datafusion_common::hash_utils::create_hashes;
use futures::{StreamExt, TryStreamExt}; use futures::{StreamExt, TryStreamExt};
use lance::arrow::SchemaExt; use lance_arrow::SchemaExt;
use crate::{ use crate::{
arrow::{SendableRecordBatchStream, SimpleRecordBatchStream}, arrow::{SendableRecordBatchStream, SimpleRecordBatchStream},

View File

@@ -10,7 +10,7 @@ pub mod sentence_transformers;
#[cfg(feature = "bedrock")] #[cfg(feature = "bedrock")]
pub mod bedrock; pub mod bedrock;
use lance::arrow::RecordBatchExt; use lance_arrow::RecordBatchExt;
use std::{ use std::{
borrow::Cow, borrow::Cow,
collections::{HashMap, HashSet}, collections::{HashMap, HashSet},

View File

@@ -11,10 +11,8 @@ use datafusion_expr::Expr;
use datafusion_physical_plan::ExecutionPlan; use datafusion_physical_plan::ExecutionPlan;
use futures::{stream, try_join, FutureExt, TryFutureExt, TryStreamExt}; use futures::{stream, try_join, FutureExt, TryFutureExt, TryStreamExt};
use half::f16; use half::f16;
use lance::{ use lance::dataset::{scanner::DatasetRecordBatchStream, ROW_ID};
arrow::RecordBatchExt, use lance_arrow::RecordBatchExt;
dataset::{scanner::DatasetRecordBatchStream, ROW_ID},
};
use lance_datafusion::exec::execute_plan; use lance_datafusion::exec::execute_plan;
use lance_index::scalar::inverted::SCORE_COL; use lance_index::scalar::inverted::SCORE_COL;
use lance_index::scalar::FullTextSearchQuery; use lance_index::scalar::FullTextSearchQuery;

View File

@@ -2626,7 +2626,7 @@ impl BaseTable for NativeTable {
.await .await
{ {
Ok(stats) => stats, Ok(stats) => stats,
Err(lance::error::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)),
}; };