Skip to Content
0
Former Member
Jan 23, 2012 at 05:00 PM

Help required in writing UDF

23 Views

Hi SDNers,

I have a requirement to write UDF, can anybody help me in acheiving the code.

Requirement:-

If I am getting 5 as my input to UDF, I need to generate five 001's to my output of UDF.

I tried to loop the input and used result.addValue("001"); but not working.

Please help in getting java logic for this udf.

Thanks

Jayaram.G