From df2cbad2683ab28cb10a2b465fd8838fa0c0720f Mon Sep 17 00:00:00 2001 From: Michael-J-Ward Date: Thu, 25 Jul 2024 11:21:29 -0500 Subject: [PATCH] search default aggregate functions by both name and aliases The alias list no longer includes the name of the function. Ref: https://github.com/apache/datafusion/issues/10658 --- src/functions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions.rs b/src/functions.rs index b357e5252..1128b1b46 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -658,7 +658,7 @@ fn find_window_fn(name: &str, ctx: Option) -> PyResult) -> PyResult<()> { m.add_wrapped(wrap_pyfunction!(flatten))?; Ok(()) -} \ No newline at end of file +}