Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
VEC_DISTANCE() function that takes two binary strings (which are vectors of floats of the same length) and computes Euclidean distance between two multi-dimensional points, much like ST_DISTANCE() does.
it'll also work on the VECTOR(N) data type, when we'll have one
Attachments
Issue Links
- is part of
-
MDEV-34939 vector search in 11.7
-
- Closed
-
- relates to
-
MDEV-32886 VEC_FromText() and VEC_ToText() functions
-
- Closed
-
-
MDEV-32887 vector search
-
- Stalled
-
-
MDEV-33417 VEC_DISTANCE_COSINE() function
-
- Closed
-
-
MDEV-33410 VECTOR data type
-
- Closed
-
-
MDEV-35327 Add VEC_DISTANCE_MANHATTAN (L1) distance function on Vector
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Labels | vector |
Link |
This issue relates to |
Link | This issue relates to MDEV-32887 [ MDEV-32887 ] |
Fix Version/s | 11.5 [ 29506 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Testing [ 10301 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Fix Version/s | 11.6 [ 29515 ] | |
Fix Version/s | 11.5 [ 29506 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Labels | vector | Preview_11.6 vector |
Labels | Preview_11.6 vector | vector |
Fix Version/s | 11.7 [ 29815 ] | |
Fix Version/s | 11.6 [ 29515 ] |
Link |
This issue is part of |
Link | This issue relates to MDEV-35327 [ MDEV-35327 ] |
Component/s | Vector search [ 20205 ] | |
Component/s | Server [ 13907 ] | |
Fix Version/s | 11.7.1 [ 29913 ] | |
Fix Version/s | 11.7 [ 29815 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Testing [ 10301 ] | Closed [ 6 ] |
PlanetScale intends to support three or more different distance functions, so we need a syntax for that. Our proposal is VEC_L2Distance, VEC_IPDistance, and VEC_CosineDistance. This is similar to spatial types, which have separate functions for simple, Hausdorff, and Frechet distance.
We may in the future also want VEC_HammingDistance for one-bit vectors.