Hi,
Apparently, I cannot use Any as column type for aggregate UDx:
ROLLBACK 2291: Call to ColumnTypes.addAny() is not allowed in Aggregate functions
Question - how I can implement polymorphism (i.e. my aggregate function will accept different type of arguments)?
Polymorphyism definitely possible for aggregate functions. For example MIN group function will work for any data type - int, char, varchar, date etc.
Can you look how it is possible to have single aggregate UDx function that will handle different argument datatypes.
Thank you
Sergey
P.S.
Aggregate UDx does not support fencing - produce syntax error. That deserved to be mentioned in docs.