Commit Graph

1606 Commits

Author SHA1 Message Date
Lance Release 99ea78fb55 Updating package-lock.json 2025-02-20 03:38:44 +00:00
Lance Release 8eef4cdc28 Updating package-lock.json 2025-02-20 03:38:27 +00:00
Lance Release 0f102f02c3 Bump version: 0.16.1-beta.2 → 0.16.1-beta.3 v0.16.1-beta.3 2025-02-20 03:38:01 +00:00
Lance Release a33a0670f6 Bump version: 0.19.1-beta.2 → 0.19.1-beta.3 python-v0.19.1-beta.3 2025-02-20 03:37:27 +00:00
BubbleCal 14c9ff46d1 feat: support multivector on remote table (#2045)
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
2025-02-20 11:34:51 +08:00
Lei Xu 1865f7decf fix: support optional nested pydantic model (#2130)
Closes #2129
2025-02-17 20:43:13 -08:00
BubbleCal a608621476 test: query with dist range and new rows (#2126)
we found a bug that flat KNN plan node's stats is not in right order as
fields in schema, it would cause an error if querying with distance
range and new unindexed rows.

we've fixed this in lance so add this test for verifying it works

Signed-off-by: BubbleCal <bubble-cal@outlook.com>
2025-02-17 12:57:45 +08:00
BubbleCal 00514999ff feat: upgrade lance to 0.23.1-beta.4 (#2121)
this also upgrades object_store to 0.11.0, snafu to 0.8

Signed-off-by: BubbleCal <bubble-cal@outlook.com>
2025-02-16 14:53:26 +08:00
Lance Release b3b597fef6 Updating package-lock.json 2025-02-13 04:40:10 +00:00
Lance Release bf17144591 Updating package-lock.json 2025-02-13 04:39:54 +00:00
Lance Release 09e110525f Bump version: 0.16.1-beta.1 → 0.16.1-beta.2 v0.16.1-beta.2 2025-02-13 04:39:38 +00:00
Lance Release 40f0dbb64d Bump version: 0.19.1-beta.1 → 0.19.1-beta.2 python-v0.19.1-beta.2 2025-02-13 04:39:19 +00:00
BubbleCal 3b19e96ae7 fix: panic when field id doesn't equal to field index (#2116)
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
2025-02-13 12:38:35 +08:00
Will Jones 78a17ad54c chore: improve dev instructions for Python (#2088)
Closes #2042
2025-02-12 14:08:52 -08:00
Lance Release a8e6b491e2 Updating package-lock.json 2025-02-11 22:05:54 +00:00
Lance Release cea541ca46 Updating package-lock.json 2025-02-11 20:56:22 +00:00
Lance Release 873ffc1042 Updating package-lock.json 2025-02-11 20:56:05 +00:00
Lance Release 83273ad997 Bump version: 0.16.1-beta.0 → 0.16.1-beta.1 v0.16.1-beta.1 2025-02-11 20:55:43 +00:00
Lance Release d18d63c69d Bump version: 0.19.1-beta.0 → 0.19.1-beta.1 python-v0.19.1-beta.1 2025-02-11 20:55:23 +00:00
LuQQiu c3e865e8d0 fix: fix index out of bound in load indices (#2108)
panicked at 'index out of bounds: the len is 24 but the index is
25':Lancedb/rust/lancedb/src/index/vector.rs:26\n

load_indices() on the old manifest while use the newer manifest to get
column names could result in index out of bound if some columns are
removed from the new version.
This change reduce the possibility of index out of bound operation but
does not fully remove it.
Better that lance can directly provide column name info so no need extra
calls to get column name but that require modify the public APIs
2025-02-11 12:54:11 -08:00
Weston Pace a7755cb313 docs: standardize node example prints (#2080)
Minor cleanup to help debug future CI failures
2025-02-11 08:26:29 -08:00
BubbleCal 3490f3456f chore: upgrade lance to 0.23.1-beta.2 (#2109) 2025-02-11 23:57:56 +08:00
Lance Release 0a1d0693e1 Updating package-lock.json 2025-02-07 20:06:22 +00:00
Lance Release fd330b4b4b Updating package-lock.json 2025-02-07 19:28:01 +00:00
Lance Release d4e9fc08e0 Updating package-lock.json 2025-02-07 19:27:44 +00:00
Lance Release 3626f2f5e1 Bump version: 0.16.0 → 0.16.1-beta.0 v0.16.1-beta.0 2025-02-07 19:27:26 +00:00
Lance Release e64712cfa5 Bump version: 0.19.0 → 0.19.1-beta.0 python-v0.19.1-beta.0 2025-02-07 19:27:07 +00:00
Wyatt Alt 3e3118f85c feat: update lance dependency to 0.23.1-beta.1 (#2102) 2025-02-07 10:56:01 -08:00
Lance Release 592598a333 Updating package-lock.json 2025-02-07 18:50:53 +00:00
Lance Release 5ad21341c9 Updating package-lock.json 2025-02-07 17:34:04 +00:00
Lance Release 6e08caa091 Updating package-lock.json 2025-02-07 17:33:48 +00:00
Lance Release 7e259d8b0f Bump version: 0.16.0-beta.0 → 0.16.0 v0.16.0 2025-02-07 17:33:13 +00:00
Lance Release e84f747464 Bump version: 0.15.1-beta.3 → 0.16.0-beta.0 2025-02-07 17:33:08 +00:00
Lance Release 998cd43fe6 Bump version: 0.19.0-beta.0 → 0.19.0 python-v0.19.0 2025-02-07 17:32:26 +00:00
Lance Release 4bc7eebe61 Bump version: 0.18.1-beta.4 → 0.19.0-beta.0 2025-02-07 17:32:26 +00:00
Will Jones 2e3b34e79b feat(node): support inserting and upserting subschemas (#2100)
Fixes #2095
Closes #1832
2025-02-07 09:30:18 -08:00
Will Jones e7574698eb feat: upgrade Lance to 0.23.0 (#2101)
Upstream changelog:
https://github.com/lancedb/lance/releases/tag/v0.23.0
2025-02-07 07:58:07 -08:00
Will Jones 801a9e5f6f feat(python): streaming larger-than-memory writes (#2094)
Makes our preprocessing pipeline do transforms in streaming fashion, so
users can do larger-then-memory writes.

Closes #2082
2025-02-06 16:37:30 -08:00
Weston Pace 4e5fbe6c99 fix: ensure metadata erased from schema call in table provider (#2099)
This also adds a basic unit test for the table provider
2025-02-06 15:30:20 -08:00
Weston Pace 1a449fa49e refactor: rename drop_db / drop_database to drop_all_tables, expose database from connection (#2098)
If we start supporting external catalogs then "drop database" may be
misleading (and not possible). We should be more clear that this is a
utility method to drop all tables. This is also a nice chance for some
consistency cleanup as it was `drop_db` in rust, `drop_database` in
python, and non-existent in typescript.

This PR also adds a public accessor to get the database trait from a
connection.

BREAKING CHANGE: the `drop_database` / `drop_db` methods are now
deprecated.
2025-02-06 13:22:28 -08:00
Weston Pace 6bf742c759 feat: expose table trait (#2097)
Similar to
https://github.com/lancedb/lancedb/commit/c269524b2f394a6c8508436840bce17d884a42c0
this PR reworks and exposes an internal trait (this time
`TableInternal`) to be a public trait. These two PRs together should
make it possible for others to integrate LanceDB on top of other
catalogs.

This PR also adds a basic `TableProvider` implementation for tables,
although some work still needs to be done here (pushdown not yet
enabled).
2025-02-05 18:13:51 -08:00
Ryan Green ef3093bc23 feat: drop_index() remote implementation (#2093)
Support drop_index operation in remote table.
2025-02-05 10:06:19 -03:30
Will Jones 16851389ea feat: extra headers parameter in client options (#2091)
Closes #1106

Unfortunately, these need to be set at the connection level. I
investigated whether if we let users provide a callback they could use
`AsyncLocalStorage` to access their context. However, it doesn't seem
like NAPI supports this right now. I filed an issue:
https://github.com/napi-rs/napi-rs/issues/2456
2025-02-04 17:26:45 -08:00
Weston Pace c269524b2f feat!: refactor ConnectionInternal into a Database trait (#2067)
This opens up the door for more custom database implementations than the
two we have today. The biggest change should be inivisble:
`ConnectionInternal` has been renamed to `Database`, made public, and
refactored

However, there are a few breaking changes. `data_storage_version` and
`enable_v2_manifest_paths` have been moved from options on
`create_table` to options for the database which are now set via
`storage_options`.

Before:
```
db = connect(uri)
tbl = db.create_table("my_table", data, data_storage_version="legacy", enable_v2_manifest_paths=True)
```

After:
```
db = connect(uri, storage_options={
  "new_table_enable_v2_manifest_paths": "true",
  "new_table_data_storage_version": "legacy"
})
tbl = db.create_table("my_table", data)
```

BREAKING CHANGE: the data_storage_version, enable_v2_manifest_paths
options have moved from options to create_table to storage_options.
BREAKING CHANGE: the use_legacy_format option has been removed,
data_storage_version has replaced it for some time now
2025-02-04 14:35:14 -08:00
Lance Release f6eef14313 Bump version: 0.18.1-beta.3 → 0.18.1-beta.4 python-v0.18.1-beta.4 2025-02-04 17:25:52 +00:00
Rob Meng 32716adaa3 chore: bump lance version (#2092) 2025-02-04 12:25:05 -05:00
Lance Release 5e98b7f4c0 Updating package-lock.json 2025-02-01 02:27:43 +00:00
Lance Release 3f2589c11f Updating package-lock.json 2025-02-01 01:22:22 +00:00
Lance Release e3b99694d6 Updating package-lock.json 2025-02-01 01:22:05 +00:00
Lance Release 9d42dc349c Bump version: 0.15.1-beta.2 → 0.15.1-beta.3 v0.15.1-beta.3 2025-02-01 01:21:28 +00:00