Hi forum,
I'm learning Kettle and have a scenario described in image. Please find the below image.
Lookup Example.jpg
1) I have 6 rows in flat file (no key filed I have)... have to insert all the rows to postgresql table. [have done]
2) the flat file will update with new records (i.e., 6 rows old +2 new rows now), my transformation now should insert only 2 rows to the table and reject the 6 rows to a file by looking up the table ( of a key field).
What look up step is suitable for this ? this lookup can be directly performed on output(table) step or any intermediate step have to before the(output table).
Your hits will be helpful and appreciated.
Thank you in Advance :-)
I'm learning Kettle and have a scenario described in image. Please find the below image.
Lookup Example.jpg
1) I have 6 rows in flat file (no key filed I have)... have to insert all the rows to postgresql table. [have done]
2) the flat file will update with new records (i.e., 6 rows old +2 new rows now), my transformation now should insert only 2 rows to the table and reject the 6 rows to a file by looking up the table ( of a key field).
What look up step is suitable for this ? this lookup can be directly performed on output(table) step or any intermediate step have to before the(output table).
Your hits will be helpful and appreciated.
Thank you in Advance :-)