strtok_split_to_table support only Integer and does not support other data type

I have 2 questions regard to this function

1. Did this function able to support any Numeric and Character data type as it said in the SQL Function ... document? From the test, seem like the outkey support data type is only INTEGER. I try to use another data type but it return me error message "SELECT Failed. 9134: STRTOK: Inconsistent data types or data character sets among inputs and outputs."

2. From the SQL Function document, seem like inkey and outkey are the same value. But when I tested, it return data differently. I don't know where the outkey that its return coming from.

Re: strtok_split_to_table support only Integer and does not support other data type

Hi all.

The 'outkey' returned value must be, according to manuals, either INTEGER or VARCHAR(10), but I've found that it can be a VARCHAR up to 32 characters (exceeding this limit, you get error 9134 "STRTOK: Varchar Inkey exceeded the max. allowed inkey length. Redefine UDF."