possible SDK bug in handling custom plugin intermediate result aggregator2 followers
I have written a custom plugin containing specific aggregation functionality. My outer class extends GenericBaseFunctionType, implements IntermediateResultAggregationFunctionType and expects several parameters: two columns/column names and multiple constant values (float, string). There is an inner class which extends IntermediateResultAggregator and - apart from the intermediate methods - implements the aggregate() method. If a worksheet contains a GROUPBY column, a column with a built-in aggregation function, e.g. GROUPCONCAT, and a column with my aggregation function, then the result looks ok. But if I remove the column with the built-in aggregation function, then it looks like my aggregate() method is never called, only aggregateIntermediateResult(null) and computeAggregationResult() are called. As far as I understand the API, the aggregator method aggregate() is the only one which gets direct input from the columns in the referenced sheet and thus should be called even for an IntermediateResultAggregator, shouldn't it?
Am I still missing something or is this behavior caused by a bug in the SDK?