Skip to content

Fix cagra::extend error message#532

Merged
rapids-bot[bot] merged 2 commits intorapidsai:branch-25.02from
enp1s0:fix-cagra-extend-error-message
Dec 13, 2024
Merged

Fix cagra::extend error message#532
rapids-bot[bot] merged 2 commits intorapidsai:branch-25.02from
enp1s0:fix-cagra-extend-error-message

Conversation

@enp1s0
Copy link
Copy Markdown
Member

@enp1s0 enp1s0 commented Dec 12, 2024

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.

@enp1s0 enp1s0 requested a review from a team as a code owner December 12, 2024 14:20
@enp1s0 enp1s0 self-assigned this Dec 12, 2024
@github-actions github-actions Bot added the cpp label Dec 12, 2024
@enp1s0 enp1s0 added improvement Improves an existing functionality non-breaking Introduces a non-breaking change bug Something isn't working and removed cpp improvement Improves an existing functionality labels Dec 12, 2024
@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented Dec 12, 2024

/ok to test

Copy link
Copy Markdown
Contributor

@achirkin achirkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@achirkin
Copy link
Copy Markdown
Contributor

/merge

@rapids-bot rapids-bot Bot merged commit b859bc5 into rapidsai:branch-25.02 Dec 13, 2024
@enp1s0 enp1s0 deleted the fix-cagra-extend-error-message branch December 13, 2024 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants