Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Re: udf help

$
0
0

Where did you place this code?

 

Create a new UDF with the name that you want. lets'say checkcode

 

and place the code inside that.

 

if (!(var1.equals("00")))

throw new StreamTransformationException("mapping fail - Expected value is 00");

else

  return var1;

 

Capture.PNG


Viewing all articles
Browse latest Browse all 8594

Trending Articles



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