Elffuss BraidHub

kikocis/lancedb public

feat: upgrade lance to v0.17.0 (#1608)

Changelog: https://github.com/lancedb/lance/releases/tag/v0.17.0

Highlights:

* You can do "phrase queries" by adding double quotes around phrases
(multiple tokens) in FTS.

Added follow ups in: https://github.com/lancedb/lancedb/issues/1611
Changesete2b935ff6c69e99cffbf5fe536144bf357f11b49a0674052d960e7a088706f3d
AuthorWill Jones <willjones127@gmail.com> · 2024-09-06 14:10 -07:00
CommitterGitHub <noreply@github.com> · 2024-09-06 14:10 -07:00
Parentsb961e5132417

Browse the files at this changeset

4 files changed

modified Cargo.toml +6 −6
@@ -20,12 +20,12 @@
2020 categories = ["database-implementations"]
2121
2222 [workspace.dependencies]
23-lance = { "version" = "=0.16.1", "features" = ["dynamodb"] }
24-lance-index = { "version" = "=0.16.1" }
25-lance-linalg = { "version" = "=0.16.1" }
26-lance-testing = { "version" = "=0.16.1" }
27-lance-datafusion = { "version" = "=0.16.1" }
28-lance-encoding = { "version" = "=0.16.1" }
23+lance = { "version" = "=0.17.0", "features" = ["dynamodb"] }
24+lance-index = { "version" = "=0.17.0" }
25+lance-linalg = { "version" = "=0.17.0" }
26+lance-testing = { "version" = "=0.17.0" }
27+lance-datafusion = { "version" = "=0.17.0" }
28+lance-encoding = { "version" = "=0.17.0" }
2929 # Note that this one does not include pyarrow
3030 arrow = { version = "52.2", optional = false }
3131 arrow-array = "52.2"
modified python/pyproject.toml +1 −1
@@ -3,7 +3,7 @@
33 # version in Cargo.toml
44 dependencies = [
55 "deprecation",
6- "pylance==0.16.1",
6+ "pylance==0.17.0",
77 "ratelimiter~=1.0",
88 "requests>=2.31.0",
99 "retry>=0.9.2",
modified rust/ffi/node/src/table.rs +1 −1
@@ -391,7 +391,7 @@
391391 materialize_deletions_threshold.value(&mut cx) as f32;
392392 }
393393 if let Some(num_threads) = js_options.get_opt::<JsNumber, _, _>(&mut cx, "numThreads")? {
394- options.num_threads = num_threads.value(&mut cx) as usize;
394+ options.num_threads = Some(num_threads.value(&mut cx) as usize);
395395 }
396396
397397 rt.spawn(async move {
modified rust/lancedb/src/table.rs +1 −1
@@ -2788,7 +2788,7 @@
27882788 .get_index_type(index_uuid)
27892789 .await
27902790 .unwrap(),
2791- Some("IVF".to_string())
2791+ Some("IVF_PQ".to_string())
27922792 );
27932793 assert_eq!(
27942794 table