ARGTYPE
The ARGTYPE array contains the list of argument types for the UDX. For a standard UDX,
the argument types match the values returned by the getArgs() method and for a
VARARGS UDX the argument types are based on how the UDX is invoked. The values contained in the
ARGTYPE array do not match Netezza datatypes, instead they match the nzLua datatypes shown in the
Constants section.
Example
if ARGTYPE[1] != TYPE_NUMBER then error("Expected NUMBER for argument #1.",0)
end