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

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?

Comments

  • PRanaPRana Employee
    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


Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file