Question

Question on multiple joiner

  • 26 February 2018
  • 3 replies
  • 2 views

Badge

Dear FME community.

I've two datasets :

Table 1

Col1Col2Col3AnullnullnullnullnullABnullABC

Table 2

Col1Col2AArt of theaterBBlizzardCCute rabbit

What I want is to transform Table 1 in :

Col1Col2Col3Art of theaternullnullnullnullnullArt of theaterBlizzardnullArt of theaterBlizzardCute rabbit

I began to use FeatureMerge but it seems to be "heavy artillery" for a little problem.

What is the best process for resolve this ?

Thank you for your help.


3 replies

Userlevel 4

I think the FeatureMerger would be a good choice, personally.

Badge
What I do like that

 

Badge +2

The FeatureMerger is a good solution. However it will be limiting if you don't know how many look ups you're going to need in Table 2 or columns in Table1. You can take a slightly different approach by splitting the records up by column (AttributeExploder) , do a single lookup, and then re-aggregate. (we use a siilar approach to transpose data)

I've attached an example workspace (2017): table-lookup-2017.fmwt

Reply