How to handle nullable columns in a reject link
Posted: Tue May 24, 2011 2:41 pm
Do you have any suggestions on how to handle nullable columns when the sequential file is a reject link? In that case, you don't have the option to handle nulls when you edit the row for the column. We have a large number of jobs with this situation, and a large number of columns in most of the related transformers, so options like putting a transformer or modify between the rejecting stage and the reject SF would be a pretty huge effort.
We had a suggestion to change the link from a reject to an 'otherwise', but we do have some situations where we generate output rows for every input row (I'm coding on one right now), so it seem that wouldn't work; and the situation is really errors that should cause the row to reject, like an error in a derivation on one of the output links.
Thanks for any ideas.
We had a suggestion to change the link from a reject to an 'otherwise', but we do have some situations where we generate output rows for every input row (I'm coding on one right now), so it seem that wouldn't work; and the situation is really errors that should cause the row to reject, like an error in a derivation on one of the output links.
Thanks for any ideas.