-
Notifications
You must be signed in to change notification settings - Fork 332
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
Add New Vector Functions #5120
Labels
C-feature
Category Features
good first issue
Good for newcomers
tracking-issue
A tracking issue for a feature.
Comments
I'd look into |
I want to try VEC_ADD(vec0, vec1): |
Cool, thank you! |
Thanks! |
This was referenced Dec 14, 2024
3 tasks
I'd like to implement |
2 tasks
@wty4427300 Is there any progress regarding the implementation of |
@zhongzc We need to update the functions doc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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_PRODUCT
,VEC_ELEM_PRODUCT
,VEC_NORM
. #5303vec_sub
&vec_sum
&vec_elem_sum
#5230VEC_PRODUCT
,VEC_ELEM_PRODUCT
,VEC_NORM
. #5303VECTOR_SCALAR_MUL(1/SQRT(VECTOR_ELEM_SUM(VECTOR_MUL(v, v))), v)
, returns a vector. @linyihai feat: AddVEC_PRODUCT
,VEC_ELEM_PRODUCT
,VEC_NORM
. #5303Vector 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: