The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.

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
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.