Records Getting dropped
Moderators: chulett, rschirm, roy
Records Getting dropped
Hi,
I am getting issue in one of my job,when i tried to run the job the some of the records are getting dropped from transformer stage before target stage.
message i am getting in log is:
Transformer_143,0: Field 'XXX' from input dataset '0' is NULL. Record dropped.
This message still getting even though handled nulls.
my derivation was to handle nulls:
If isNull(Link1.XXX) Then "" Else Trim(Link1.XXX)
Can any one help me on this?
I am getting issue in one of my job,when i tried to run the job the some of the records are getting dropped from transformer stage before target stage.
message i am getting in log is:
Transformer_143,0: Field 'XXX' from input dataset '0' is NULL. Record dropped.
This message still getting even though handled nulls.
my derivation was to handle nulls:
If isNull(Link1.XXX) Then "" Else Trim(Link1.XXX)
Can any one help me on this?
Thanx&Regards
scorpion
scorpion
I've gotten this error before when I was certain that I'd dealt with nullability in all occurrences of the column in the transform stage... then I discovered that I'd used the column in a constraint. Perhaps you might have the same problem.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
If your are not using that column in a constraint or in a stage variable and you are certain that each use in a derivation is handled as you have described then you have discovered a bug.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
That derivation is why you are getting dropped records. You need to handle nulls in that derivation as well as in the one you posted earlier. You need to add a IF IsNull... to that clause.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>