Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Instead of using tMap for lookup I use tJoin for for all the lookups and place the rejected records in log file.
For making a better and uniform suructure along with time value in the log file I use tMap for the rejected records and place the records in log file
I feel it is better for debugging, maintaining a job.
Thanks and Regards,
pravu Mishra.
If a lookup fails, I would place If a lookup fails, I would place a key value of -1 (tag as a logical failure) in the lookup key. However, I would want ALL rows to continue to the next tJoin (as if successful), and so on. Finally, after the last tJoin, I could usesomething like a tJavaRow to test for any -1 values that exist in any key columns. I would then send those rows to a tMap which does lookups for DEFAULT vaules. I would then want to merge back all corrected rows (with the default values substituted) back in the main stream (of success rows), which woud go to a final tmap for output.
in the lookup key. However, I would want ALL rows to continue to the next tJoin (as if successful), and so on. Finally, after the last tJoin, I could usesomething like a tJavaRow to test for any -1 values that exist in any key columns. I would then send those rows to a tMap which does lookups for DEFAULT vaules. I would then want to merge back all corrected rows (with the default values substituted) back in the main stream (of success rows), which woud go to a final tmap for output.
It sounds good.
If a lookup fails, I would place If a lookup fails, I would place a key value of -1 (tag as a logical failure) in the lookup key. However, I would want ALL rows to continue to the next tJoin (as if successful), and so on. Finally, after the last tJoin, I could usesomething like a tJavaRow to test for any -1 values that exist in any key columns. I would then send those rows to a tMap which does lookups for DEFAULT vaules. I would then want to merge back all corrected rows (with the default values substituted) back in the main stream (of success rows), which woud go to a final tmap for output.
in the lookup key. However, I would want ALL rows to continue to the next tJoin (as if successful), and so on. Finally, after the last tJoin, I could usesomething like a tJavaRow to test for any -1 values that exist in any key columns. I would then send those rows to a tMap which does lookups for DEFAULT vaules. I would then want to merge back all corrected rows (with the default values substituted) back in the main stream (of success rows), which woud go to a final tmap for output.