Re: Beam SQL UDF with variable arguments list?

2021-01-26 Thread Niels Basjes
Thanks, that explains what I'm seeing. Niels On Tue, 26 Jan 2021, 20:57 Rui Wang, wrote: > Yes I think Calcite does not support varargs in for scalar function (so in > UDF). Please check this JIRA: > https://issues.apache.org/jira/browse/CALCITE-2772 > > > -Rui > > On Tue, Jan 26, 2021 at 2:04

Re: Beam SQL UDF with variable arguments list?

2021-01-26 Thread Rui Wang
Yes I think Calcite does not support varargs in for scalar function (so in UDF). Please check this JIRA: https://issues.apache.org/jira/browse/CALCITE-2772 -Rui On Tue, Jan 26, 2021 at 2:04 AM Niels Basjes wrote: > Hi, > > I want to define a Beam SQL user defined function that accepts a

Beam SQL UDF with variable arguments list?

2021-01-26 Thread Niels Basjes
Hi, I want to define a Beam SQL user defined function that accepts a variable list of arguments (which may be empty). What I essentially would like to have is public class ParseUserAgentJson implements BeamSqlUdf { public static String eval( String input,