Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support null insert #390

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Conversation

cutecutecat
Copy link
Member

@cutecutecat cutecutecat commented Feb 26, 2024

Fix #386
Part of #376 , we still need a patch for upgrade to v0.2.0

@VoVAllen
Copy link
Member

https://github.com/pgvector/pgvector/blob/master/src/hnswinsert.c#L635-L649
Seems we can just return if null at

_is_null: *mut bool,

@cutecutecat cutecutecat force-pushed the support-null branch 2 times, most recently from be7d8eb to f359560 Compare February 27, 2024 02:37
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
src/index/utils.rs Outdated Show resolved Hide resolved
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
usamoi
usamoi previously approved these changes Feb 27, 2024
src/index/am_build.rs Outdated Show resolved Hide resolved
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
@cutecutecat cutecutecat added this pull request to the merge queue Feb 27, 2024
Merged via the queue into tensorchord:main with commit 755de63 Feb 27, 2024
8 checks passed
@VoVAllen
Copy link
Member

Please cherry pick this into 0.2 branch

cutecutecat added a commit to cutecutecat/pgvecto.rs that referenced this pull request Feb 27, 2024
* fix: support null insert

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>

* fix

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>

* fix

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>

---------

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
cutecutecat added a commit that referenced this pull request Feb 27, 2024
* fix: support null insert



* fix



* fix



---------

Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
@cutecutecat cutecutecat deleted the support-null branch September 2, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: NULL insert
3 participants