-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 covar
, covar_pop
and covar_samp
aggregate functions
#1551
Conversation
@@ -605,6 +605,62 @@ mod tests { | |||
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.
@@ -411,6 +411,62 @@ mod tests { | |||
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 |
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
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_pop
andcovar_samp
statistical functions as aggregators to DataFusion.What changes are included in this PR?
Are there any user-facing changes?
The following operators are added:
covar
covar_pop
covar_samp
No breaking changes.