I have a list column and as aggregation I’m choosing “Append Elements” with “Filter missing collection elements” unchecked.
However the generated output list never contains any missing collection elements. Either I don’t understand the option correctly (Filter missing collection elements) or it isn’t working. In fact the option doesn’t have any effect on the output. This applies to KNIME 3.7.2 and KNIME 4 and possibly earlier versions.
Just as an alternative approach, I suggest using Ungroup node before the GroupBy node and then use the List method in the GroupBy node. That will solve your issue for now.
Sadly this doesn’t work in my case because I have multiple sub-groups, meaning several columns containing to the same “sub-group” with same amount of elements in the list. One subgroup could have 2 elements and another 10. This leads to additional rows which then when grouping again leads to additional, wrong missing values. So I need to split the table up in these subgroups and then do the ungroup -> group and join again. Safe to say a fix for this issue would help me a lot.
Reopened and moved to Feedback & Ideas since @s.roughley asked about this. There is an existing ticket (AP-12262) but as far as I know it has not yet been addressed.
For public record this bug also applies to the Column Aggregator node (Unsurprisingly as I’m pretty sure they use the same AggregationOperators under the hood)