The problem is that some of our attributes contain the pipe value, for example a first name is John|
I am attempting to escape these characters using a transformer but not having much luck.
Currently my Graph is:
Reader -> MEMGET -> Aggregate ->Transformer -> Output
In my Transformer, here is what I have as source code:
Code: Select all
function transform() {
$0.FIRSTNAME := replace($FIRSTNAME, ",,", ",");
}
How do I specify to escape only the pipe character?
Thanks in advance!