Vertica 7.0 Programmer's Guide has the following example regarding Polymorphic functions:
RFactory <- function() {
list(name=RFunction, udxtype=c("transform"), intype=c("any"),
outtype=c("any"), outtypecallback=ReturnType)
}
Does outtype = "any" mean the same R UDF can return different number of columns depending on the inputs provided? I have tried using it but it fails everytime.
Some clarification on this would be helpful.
Thank you.
Ravi
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.