Hi there, I'm just getting going on Kettle and have what I think is a very simple question. I have a CSV file I'm trying to import into my DB. In the DB we use a <date+random number> object id to store everything. In their present code they just generate that within javascript (barf) any time they want to insert something. So on my import I have to look up the name in the CSV against the names table, if there's a match pull back the nameID for my insert. This is easy and I've just used a Database Join to get the information into pentaho and have my ID's line up with the right names.
I'm stuck trying to generate the IDs for the new contacts that are not in the DB. I picked outer join in the DB Join step so I have blank IDs in that field of my dataset. I'm looking for a way to simply populate the blank fields with new random IDs so when I do my insert/update into my brutally designed DB everything with 0 sequences everything works and I can sell everyone here on using Pentaho. Any help or is there a totally different method for this that I've yet to learn?
Cheers,
Walter.
I'm stuck trying to generate the IDs for the new contacts that are not in the DB. I picked outer join in the DB Join step so I have blank IDs in that field of my dataset. I'm looking for a way to simply populate the blank fields with new random IDs so when I do my insert/update into my brutally designed DB everything with 0 sequences everything works and I can sell everyone here on using Pentaho. Any help or is there a totally different method for this that I've yet to learn?
Cheers,
Walter.