The "SqlOperandTypeChecker operandTypeChecker" argument to SqlAggFunction determines the number and type of arguments that will be accepted. To date all agg functions have accepted 1 argument (except 'COUNT(*)' which is really 0 arguments) but it should work. OperandTypes.NUMERIC_NUMERIC might be what you need.
On Thu, Sep 25, 2014 at 12:00 PM, Yash Sharma <[email protected]> wrote: > Hi Guys, > Can any one point out how to configure the Aggregate function to accept > multiple arguments. > > Currently there is a bug injected in covar_pop/covar_samp as part of my > last patch where the covar function accepts only 1 argument. Created > OPTIQ-424 for the same. > > Thanks >
