Skip to main content
Solved

Attribute comparison

  • July 18, 2025
  • 5 replies
  • 116 views

navid.fotovaty
Contributor
Forum|alt.badge.img+3

Hey everyone, I hope I am just missing a very obvious point here. 

I am trying to compare two SQL input data sources

One with these columns

And the other with these columns

 

The customer and account number combination is going to be my primary key. I need to extract the email addresses of customers based on that combination. 

I have tried the feature merger which seemed to be the obvious solution, but I am not getting any matches?

Any idea where I am going wrong? 

Best answer by takashi

I think it would be a good solution to add another unique ID column as join key to the two input tables, if possible.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

takashi
Celebrity
  • July 19, 2025

Hi ​@navid.fotovaty ,

I think FeatureMerger or FeatureJoiner is a way to go, but it's hard to say what is wrong unless you would clarify specifically how you are using FeatureMerger in your workspace.


navid.fotovaty
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 24, 2025

Hi Takashi, 
Here you go 

 

and this is the result
 

 


takashi
Celebrity
  • July 24, 2025

The fme_rejection_code EXTRA_REFERENCEE_FEATURE shown in your result table indicates that there were supplier feature with duplicate join key - pair of C_ACCOUNT and C_CUSTOMER. How to resolve this would depend on how you would like to treat supplier features with an identical key.


navid.fotovaty
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 28, 2025

Hi Takashi, 

I would need to allow for duplicate to exist, is that possible? I can introduce another column with a unique identifier if needed. 


takashi
Celebrity
  • Best Answer
  • July 29, 2025

I think it would be a good solution to add another unique ID column as join key to the two input tables, if possible.