Commit b859bc5
authored
Fix cagra::extend error message (#532)
When extending a CAGRA index that is built with `index_param.attach_dataset_on_build = false`, an error message "Only uncompressed dataset is supported" is displayed even if the dataset used to build the graph is not compressed. This problem occurs since the extend function does not check whether the dataset is empty. This PR fixes it.
Authors:
- tsuki (https://github.com/enp1s0)
Approvers:
- Artem M. Chirkin (https://github.com/achirkin)
URL: #5321 parent ef16a9e commit b859bc5
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
435 | 441 | | |
436 | | - | |
| 442 | + | |
437 | 443 | | |
438 | 444 | | |
439 | 445 | | |
0 commit comments