Skip to main content

Hi!

Does it exist an easy way (1 transformer) to compare 2 lists from differents dataset ?

For example :

dataset 1 - feature 1

list{0}.NAME = A

list{1}.NAME = B

dataset 2 - feature 1

list{0}.NAME = B

list{1}.NAME = C

I would like to have the difference so here :

=>on the dataset1, feature1 “A” is missing

=>on the dataset2, feature1 “C” is missing

the index of the value doesn’t matter, juste the presence of the value is important.

I succed with 2 ListExploder and 1 FeatureMerger, and I imagine It would be working too with  ListExploder, FeatureMerger and ListSearcher, but maybe it exist a transformer to do that more quickly.

Thanks!

Hi @alc33 before I red your solution I also thought about ListExploder combined with FeatureJoiner or Merger, maybe you can create a useful custom transformer to do this in one tool? :)


@lambertus Thanks for your answer!

Effectively, I didn't think about it. If that transformer doesn’t exist, I could create it for ulterior use 😊


Reply