Commit ebb41f1
Add DuckDB vector engine support (spiceai#10562)
* Add self-hosted Spice connector support
* Enhance RefreshTask to handle pre-delete rows for upserts and add tests for endpoint scheme validation
* Refactor encode_data_update function to use lifetime annotations for better clarity
* Refactor data exchange handling to support streaming snapshots and improve batch encoding
* fix: enhance upsert handling with primary key validation and improve error reporting
* fix: pass dataset name as a reference in upsert pre-delete rows function
* Add DuckDB vector engine support
* Address DuckDB vector engine PR feedback
* Add DuckDB HNSW search integration coverage
* Remove DuckDB ef_search alias
* Remove DuckDB ef_construction alias
* Address DuckDB vector engine PR feedback
* Revert "Add self-hosted Spice connector support"
This reverts commit 10af21f.
* fix merge
* better Error enum
* Support views on DDL catalogs (spiceai#10554)
* Support views on DDL catalogs
* fix ref
* fix variable
* fix compile
* fix: invert table_exists loop condition for view dependency wait
The view dependency polling loop had an inverted condition: it retried
while table_exists() returned true (table found) and broke when it
returned false (table not found). This caused all view tests to fail —
the loop would spin until the deadline with the table already present,
log 'does not exist, retrying...' throughout, then exit on timeout and
report the view as failed.
Fix: negate the condition so the loop retries while the table is absent
(!table_exists) and exits as soon as the table appears.
* fix: table_exists takes &TableReference to satisfy clippy::needless_pass_by_value
* bad merge
* Update datafusion (spiceai#10422)
* update datafusion
* fix: Update test snapshots
* fix: Update test snapshots
* fixes for _score in vector UDTF
* remove bas snapshots
* fix: Update Search integration test snapshots
* search: stabilize vector_search score column for rrf recency plans
* revert these snapshots
* fix: Update Search integration test snapshots
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* update snapshot
* remove
* fix build
* fix: remove unused col import
The col function from datafusion_expr is no longer used in
embeddings/udtf.rs after the upstream datafusion update; the lint
job runs with -D warnings, so the unused import broke the build.
* snapshot
* update DF
* Fix DF
* fixes
* improved testing for RRF
* snapshots
* normalize remove
* fix: Update Search integration test snapshots (spiceai#10567)
Co-authored-by: Spice Snapshot Update Bot <spiceaibot@spice.ai>
* test: update insta snapshots
---------
Co-authored-by: Spice Snapshot Update Bot <spiceaibot@spice.ai>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Evgenii Khramkov <evgenii@spice.ai>
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: claudespice <claude@spice.ai>
* Improve full-text search indexing performance (spiceai#10464)
* Improve tantivy FTS ingest performance
* Improve tests
* Rollback on error path
* remove index as unnecessary
---------
Co-authored-by: Jack Eadie <jack@spice.ai>
* add to search integration tests
* fix compile
* update docs
* Address DuckDB vector review feedback
* fix boxed
* Address DuckDB vector follow-up review feedback
* Bound DuckDB vector search default limit
* fix: Update Search integration test snapshots
* fix finding duckdb index
* feat: Enhance DuckDB vector query handling for empty projections and filter pushdown
* fix: Update Search integration test snapshots
* fixes
* fixes
* better docs
* chore: update datafusion-table-providers to add ignored_index_prefixes
Pin to fork branch spiceai-hnsw-index-drift which adds
`TableDefinition::add_ignored_index_prefix` so externally-managed HNSW
indexes (named `__spice_vss_*`) are excluded from the DuckDB writer's
index drift check, preventing spurious refresh failures.
* chore: update datafusion-table-providers to upstream merged commit
Switch from Jeadie fork back to datafusion-contrib upstream at
df7dbc64, which includes the merged ignored_index_prefixes fix.
* formatting
* clippy
* fix clippy: return closure result directly instead of let binding
---------
Co-authored-by: jeadie <jack@spice.ai>
Co-authored-by: Spice Snapshot Update Bot <spiceaibot@spice.ai>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Evgenii Khramkov <evgenii@spice.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: claudespice <claude@spice.ai>
Co-authored-by: Sergei Grebnov <sergei.grebnov@gmail.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: William <98815791+peasee@users.noreply.github.com>1 parent e28b42c commit ebb41f1
564 files changed
Lines changed: 9866 additions & 71 deletions
File tree
- crates
- runtime-datafusion-index/src
- runtime
- src
- accelerated_table
- sink
- embeddings
- index
- search
- tests
- models
- snapshots
- search
- snapshots
- search
- src/index
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
53 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
184 | 190 | | |
185 | 191 | | |
186 | 192 | | |
| |||
1083 | 1089 | | |
1084 | 1090 | | |
1085 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1086 | 1101 | | |
1087 | 1102 | | |
1088 | 1103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
126 | 141 | | |
127 | 142 | | |
128 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
96 | 115 | | |
97 | 116 | | |
98 | 117 | | |
| |||
248 | 267 | | |
249 | 268 | | |
250 | 269 | | |
251 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
252 | 294 | | |
253 | 295 | | |
254 | 296 | | |
| |||
389 | 431 | | |
390 | 432 | | |
391 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
392 | 495 | | |
393 | 496 | | |
394 | 497 | | |
| |||
0 commit comments