Skip to main content

The length of R-UDF parameters can't be greater than 80.

  • March 11, 2014
  • 1 reply
  • 6 views

Haifeng_Ren
Forum|alt.badge.img+1
As title , i have a R-UDF with outtype = 'any' , and one of the output column has the length of 577 ,so R-UDF throw a error message , is this a limitation for R-UDF?

1 reply

PRana
Forum|alt.badge.img
  • Participating Frequently
  • March 11, 2014
Hi Haifeng,

There is a limit on the size of the output column as directed by its datatype in vertica. So if it is a varchar column the limit would be 65000. But in your UDF that doesn't seem to be the case. When you specified outtype = 'any' , you would have implemented the outtypecallback function. Please check that in the outtypecallback function you set the length of the output column appropriately.

Thanks
Pratibha