***Note from Migration:***
Original Title was: Add 'Accumulation Mode' parameter to StatisticsCalculator to allow attribute accumulation at Summary port
I hope the title already stands mostly on itself. In general I think it would be nice if it was possible to configure which attributes exit the Summary port of a StatisticsCalculator (besides the group_by attribute(s) and the statistical attributes).
I would think something like an 'Accumulation Mode' parameter, with options 'Use Attributes From One Feature', 'Merge Incoming Attributes' and 'Drop Incoming Attributes' would be a really nice to have as build in functionality in the StatisticsCalculator transformer to have control over the attributes that exit the Summary port.
Just like this parameter/functionality is already incorporated in most other transformers where attributes are accumulated. E.g. most noteworthy being the Aggregator transformer, but e.g. also in the Hull- and BoundingBoxAccumulator, the AreaOnArea- LineOnLine- or LineOnAreaOverlayer, (Surface)Dissolver, RasterMosaicker, etc.
Of course there is an easy work around by using e.g. a DuplicateFilter on the attributes that were used at the group by condition of the StatisticsCalculator, and merging these unique features from the DuplicateFilter with the Summary port of the StatisticsCalculator, but still :)