Limits on Returned Values

An SPL function can specify more than one data type in the Return clause.

An external function (a function written in the C or the Java™ language) can specify only one data type in the Return clause, but an external function can return more than one row of data if it is an iterator function. For more information, see ITERATOR.