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

Re: Writing Query in Java UDF

$
0
0

Hi,

 

 

Why my argument is not recognized ? However this is a string...

Your argument is an array e.g String[] inp, but in your UDF I think you just used

inp.toString(); which would convert it into what you see above. To obtain the correct value, use its array position e.g to get first entry of inp[] array, it should be inp[0].toString();.

 

Regards,

Mark


Viewing all articles
Browse latest Browse all 8975

Trending Articles



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