This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new d7fcea2 small clippy fix (#524)
d7fcea2 is described below
commit d7fcea29833a43d2af56d1486e46448ab4261258
Author: Andy Grove <[email protected]>
AuthorDate: Sat Oct 21 11:21:32 2023 -0600
small clippy fix (#524)
---
src/functions.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/functions.rs b/src/functions.rs
index be90360..b8c8255 100644
--- a/src/functions.rs
+++ b/src/functions.rs
@@ -140,7 +140,7 @@ fn window(
ctx.and_then(|ctx| {
ctx.ctx
.udaf(name)
- .map(|fun| datafusion_expr::WindowFunction::AggregateUDF(fun))
+ .map(datafusion_expr::WindowFunction::AggregateUDF)
.ok()
})
});