Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How do I implement this mapping logic in tmap?

I am having a hard time understand what this mapping logic is talking about and what i need to do to implement it in tmap. 

 

I am being asked to use the thiveinput and tmap componenets to first select the fields and then implement mapping logic in the tmap component. Any help would be greatly appreciated.

 

0683p000009M2Vu.png

Labels (3)
3 Replies
manodwhb
Champion II
Champion II

@idontknowany ,for all the fields it is same logic,in tmap ,in the output section enable expression filter and write below way.

 

row1.event_id.equlas("row2.event_id)  && row1.event_activity_type_cd.equals("update_adress_phone_number")

ThWabi
Creator II
Creator II

Hi idontknowany,

 

I do not know Hive, but I understand your screenshot as having two files/tables ('agreement' and 'event') with certain columns (attributes).

These tables are joined on 'event_id' and activity_type must have a given value. So here is a suggestion of how to implement that in tMap:


0683p000009M2Np.pngLogic in tMap

Ajust the output columns and tMap join settings to your needs.

 

Best regards,

 

Thomas

 

dipanjan93
Contributor
Contributor

You could use expression editor in the output side of tmap else, you could also mention it in the query itself in order to get the desired result set!