Re: Does drill support variable arguments in customer UDAF

2020-11-22 Thread Vova Vysotskyi
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

Re: Does drill support variable arguments in customer UDAF

2020-10-28 Thread Paul Rogers
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 wrote: > Hi there, > Drill does support VARARG UDFs. Take a look at this PR for an example: > https://github.com/apache/drill/pull/1835 < >

Re: Does drill support variable arguments in customer UDAF

2020-10-28 Thread Charles Givre
Hi there, Drill does support VARARG UDFs. Take a look at this PR for an example: https://github.com/apache/drill/pull/1835 -- C > On Oct 28, 2020, at 4:22 AM, wingc.s...@qq.com wrote: > > I have seen themailing list history.The same problem is

Does drill support variable arguments in customer UDAF

2020-10-28 Thread wingc.s...@qq.com
I have seen themailing 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.