Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
In one of my situation, the data in my source table is mixture of null and not-null values. I have to do following operations:
I can perform 2/3 operations using a tMap, is it possible to to perform all 3 ops?
Please not, i am trying to avoid additional components like tfilter or bufferInput
Thanks!
Hello,
Could you please elaborate your case with an example with input and expected output values?
Best regards
Sabrina
You need 2 tMap components. In the first tMap component you split the incoming flow into 2 output flows. One for null values and the 2. output flow for not null values. The second flow have to be the input for the 2. tMap and here you can do the inner join.
You cannot do everything in one tMap!
Hi,
Thanks for providing the answers!
For @Xiaodi Shi 's question for input i had some think like
And Reference table like :
I am joining on the 'VAL' column of both tables and trying to get two outputs.
One table with PK 1,2 and 3 -> This table should contain all the matching values plus the values for which we have null as input from source such as PK=3.
Other table with PK 4 -> This table indicates such values that are present in source bit not in reference table,
@Jan Lolling . I am currently doing this by using inner join :
I am storing the table 1 and 2 in tHashoutput which will be later merged and stored.
Please let me know if there are any other optimal ways to achieve this tasks.
Thanks!!
I think my former answer works here.