Add New Vector Functions #5120
Labels
C-feature
Category Features
good first issue
Good for newcomers
tracking-issue
A tracking issue for a feature.
What problem does the new feature solve?
We seek external contributors to help us implement various functions for vector operations in GreptimeDB. You can refer to this PR as a guide for implementing
vec_scalar_add
. Below is a list of functions we are considering. Each function comes with a brief description.Please respond below with the function(s) you would like to contribute, ensuring to avoid overlap with other contributors. We look forward to your valuable contributions!
What does the feature do?
Vector Basic Functions:
vector_scalar_mul
function. #5166vec_sub
&vec_sum
&vec_elem_sum
#5230vec_mul
function. #5205vec_div
function #5245vec_sub
&vec_sum
&vec_elem_sum
#5230vec_sub
&vec_sum
&vec_elem_sum
#5230VECTOR_SCALAR_MUL(1/SQRT(VECTOR_ELEM_SUM(VECTOR_MUL(v, v))), v)
, returns a vector.Vector Properties/Access Functions:
Conversion Functions (JSON <-> Vector):
Conversion Functions (String <-> Vector):
Vector Distance Functions:
... Other possible functions
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: