-
Notifications
You must be signed in to change notification settings - Fork 425
feat(expr): support avg functions on vector #7146
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
Conversation
|
Is it still in draft? @Standing-Man |
Yes, this PR currently only implements the |
Yes. And convert it back when it's ready. Thanks! |
|
Hi @killme2008 and @evenyag, I’ve fixed the SQLness test issue, PTAL. |
killme2008
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Almost LGTM
7f8496b to
59c6836
Compare
killme2008
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks a lot.
Signed-off-by: Alan Tang <[email protected]>
Signed-off-by: Alan Tang <[email protected]>
Signed-off-by: Alan Tang <[email protected]>
Signed-off-by: Alan Tang <[email protected]>
Signed-off-by: Alan Tang <[email protected]>
Signed-off-by: Alan Tang <[email protected]>
c98f37d to
02ba91d
Compare
Signed-off-by: Alan Tang <[email protected]>
a5d696f to
d1b7080
Compare
|
I merged the main branch to see if CI can pass. |
|
Thanks to all the reviewers for your valuable suggestions! |
* feat(expr): support vec_elem_avg function Signed-off-by: Alan Tang <[email protected]> * feat: support vec_avg function Signed-off-by: Alan Tang <[email protected]> * test: add more query test for avg aggregator Signed-off-by: Alan Tang <[email protected]> * fix: fix the merge batch mode Signed-off-by: Alan Tang <[email protected]> * refactor: use sum and count as state for avg function Signed-off-by: Alan Tang <[email protected]> * refactor: refactor merge batch mode for avg function Signed-off-by: Alan Tang <[email protected]> * feat: add additional vector restrictions for validation Signed-off-by: Alan Tang <[email protected]> --------- Signed-off-by: Alan Tang <[email protected]> Co-authored-by: Yingwen <[email protected]>
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
vec_elem_avgvec_avgPR Checklist
Please convert it to a draft if some of the following conditions are not met.