In Azure data factory we have Collections like:
intersection([1, 2, 3], [101, 2, 1, 10],[6, 8, 1, 2])
whic returns [1, 2]
I'm looking for opposite to intersection. For given two arrays, it should return elements which are not present in first array.
Ex: If we pass two arrays,
Array a: [1,2,3,4,5]
Array b: [1,2,3]
Ouput: [4,5]
One way is to add two lookup activites resulting two arrays and Foreach of item in first array, if not present in second item array execute another activity.
Is there any better way to do in Azure Data factory?
Thanks