Skip to content
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

Merged
merged 13 commits into from
Jan 13, 2022
Prev Previous commit
Next Next commit
clipy
  • Loading branch information
realno committed Jan 12, 2022
commit d5188b158f9e1e61ef947490c6f3940a208f799e
2 changes: 1 addition & 1 deletion datafusion/src/physical_plan/expressions/covariance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ mod tests {
.state()?
.iter()
.map(|v| vec![v.clone()])
.map(|x| ScalarValue::iter_to_array(x.clone()).map(|e| e).unwrap())
.map(|x| ScalarValue::iter_to_array(x).unwrap())
.collect::<Vec<_>>();
accum1.merge_batch(&state2)?;
accum1.evaluate()
Expand Down