calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Hyde <julianh...@gmail.com>
Subject Re: How to specify the number of arguments in Aggregate functions
Date Thu, 25 Sep 2014 23:03:06 GMT
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 <yash360@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message