We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Returning multiple values — Vertica Forum

Returning multiple values

Hi,

I have written an AggregateFactory Vertica UDF which returns a single value

getReturnTypes(si,columnTypes args,columnTypes returnTypes){

 returnTypes.addVarbinary(512);
 //I want to add second returnType
returnTypes.addFloat("");
} 

getProtoType(si,columnTypes args,columnTypes returnTypes){
returnTypes.addVarbinary(512);
 //I want to add second returnType
returnTypes.addFloat("");
}

this is not working, how can I return two values from an AggregateFactory UDF?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file
You can use Markdown in your post.