Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Help with NULL

$
0
0
I've got some input coming in, I have to make sure it is 3 characters long. If it is less than (or more than) 3 characters long, I want to assign a NULL value to the field in the transformation.

Using a regex/filter combination, I was able to sort the data accordingly but now I'm running into trouble assigning the NULL. Since there are an infinite number of expressions that are not 3 characters long, I cannot use the "Null if" step. I've tried using calculator, but it doesn't look like I can assign NULL to an existing field in the transform.

Is there a step (or series of steps) that will assign NULL to every row in the stream for a particular field? Attached is a partial screenie I hope will not confuse.
Attached Images

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>