hi guys,
my input is like tis..
Process_Compliance
-----------------------
N-Apl
3.5
4.3
3.5
N-Apl
4.2
N-Apl
my script in tmap is---->
row2.Process_Compliance.equals("N-Apl")
?BigDecimal.valueOf(0):
new BigDecimal(row2.Process_Compliance);
need output as
Process_Compliance
-----------------------
0
3.5
4.3
3.5
0
4.2
0
when i run my job with above script,i am getting following bug..
xception in component tMap_1
java.lang.NumberFormatException
at java.math.BigDecimal.<init>(Unknown Source)
at java.math.BigDecimal.<init>(Unknown Source)
at
hi pedro, i am getting... Process_Compliance ----------------------- 0.00 0.00 0.00 0.00 0.00 0.00 after i used the baove code,any how...i am getting input as ... Process_Compliance(Input Column) ----------------------- N-Apl 3.5 4.3 3.5 N-Avl 4.2 NA sorry,the above logic is not helpfull, why can't we decode in tmap & convert from string to bigdecimal????????,can we get that way......any thing...
hi pedro, my input is different... tis is my input, Process_Compliance(Input Column) ----------------------- N-Apl 3.5 4.3 3.5 N-Avl 4.2 NA how we can use tReplace tis is the case?
hi guys,
i am getting following issue with tmap......after i done the above steps...
Exception in component tMap_1
java.lang.NumberFormatException
at java.math.BigDecimal.<init>(Unknown Source)
at java.math.BigDecimal.<init>(Unknown Source)