-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add covar, covar_pop and covar_samp aggregate functions
#1551
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
| Ok(()) | ||
| } | ||
|
|
||
| #[test] |
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.
Added some test for variance to test merge rules.
| Ok(()) | ||
| } | ||
|
|
||
| #[test] |
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.
Added tests for merge rule.
|
Thank you for your works! @realno |
houqp
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
liukun4515
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 @realno @houqp and @liukun4515 -- I didn't review this code but I trust your reviews 👍 |
covar, covar_pop and covar_samp aggregate functions
Which issue does this PR close?
Closes #1548 .
Rationale for this change
This PR adds
covar,covar_popandcovar_sampstatistical functions as aggregators to DataFusion.What changes are included in this PR?
Are there any user-facing changes?
The following operators are added:
covarcovar_popcovar_sampNo breaking changes.