skipArgs()

The skipArgs() method is used to avoid passing the first N arguments in for every row of data.

Generally this is used when the first argument is a large constant string, such as configuration data or nzLua source code. The first arguments are passed into the initialize method (and the calculateShape() method of a UDTF), but are not passed to the accumulate() (UDA), evaluate() (UDF), or processRow() (UDTF) methods. By default all arguments are always passed to these functions unless the skipArgs method is defined by the UDX.

Example
-- avoid passing in the first two argument for each row function skipArgs()
return 2
end