Skip to content

Commit

Permalink
[Entity Store] handle all Collections in collect_values ingest processor
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Oct 24, 2024
1 parent bd11d1a commit fdc5b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const collectValuesProcessor: FieldRetentionOperatorBuilder<CollectValues
Set uniqueVals = new HashSet();
if (!(${isFieldMissingOrEmpty(ctxField)})) {
if(${ctxField} instanceof List) {
if(${ctxField} instanceof Collection) {
uniqueVals.addAll(${ctxField});
} else {
uniqueVals.add(${ctxField});
Expand Down

0 comments on commit fdc5b8e

Please sign in to comment.