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

feat(query): add l2 distance operator <-> #12382

Merged
merged 6 commits into from
Aug 8, 2023

Conversation

sundy-li
Copy link
Member

@sundy-li sundy-li commented Aug 8, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR

  1. add l2 distance operator <->, pgvector has this operator, let's have it in databend

  2. remove unused codes

  • Closes #issue

MySQL [(none)]> select  [1, 2] <-> [2, 3];;
+---------------------+
| ([1, 2] <-> [2, 3]) |
+---------------------+
|           1.4142135 |
+---------------------+
1 row in set (0.015 sec)

This change is Reviewable

@vercel
Copy link

vercel bot commented Aug 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
databend ⬜️ Ignored (Inspect) Visit Preview Aug 8, 2023 8:05am

@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Aug 8, 2023
@BohuTANG BohuTANG merged commit 28b0a33 into databendlabs:main Aug 8, 2023
54 checks passed
@BohuTANG
Copy link
Member

BohuTANG commented Aug 8, 2023

This is ready for document, cc @soyeric128

andylokandy pushed a commit to andylokandy/databend that referenced this pull request Nov 27, 2023
* feat(query): add l2 distance operator <->

* feat(query): add l2 distance operator <->

* feat(query): add l2 distance operator <->

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants