Hi, Yes, it was implemented for both, UDF and UDAF. Please take a look at these examples of UADF var arg functions: https://github.com/apache/drill/blob/master/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/testing/CountArgumentsAggFunctions.java
On 2020/10/28 19:34:25, Paul Rogers <par0...@gmail.com> wrote: > Variable arg UDAF might be a bit harder than var arg UDFs as support is > needed in the agg operators. > > - Paul > > On Wed, Oct 28, 2020 at 5:21 AM Charles Givre <cgi...@gmail.com> wrote: > > > Hi there, > > Drill does support VARARG UDFs. Take a look at this PR for an example: > > https://github.com/apache/drill/pull/1835 < > > https://github.com/apache/drill/pull/1835> > > -- C > > > > > On Oct 28, 2020, at 4:22 AM, wingc.s...@qq.com <wangcong.scu...@qq.com> > > wrote: > > > > > > I have seen the mailing list history.The same problem is metioned > > in 2015 and 2017, I wonder if drill support pass variable arguments in > > customer udaf such as my_sum(1, 2, 3, ......) .I'm looking forward > > your replay, thanks. > > > > >