Gabriel Reid created PHOENIX-1254:
-------------------------------------

             Summary: Add REGEXP_SPLIT function
                 Key: PHOENIX-1254
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1254
             Project: Phoenix
          Issue Type: New Feature
            Reporter: Gabriel Reid
            Assignee: Gabriel Reid


It is really useful in some situations to have a string split function to split 
string values into arrays of strings based on a delimiter string or pattern.

The intention is to add a REGEXP_SPLIT function that works in similar fashion 
to the [Postgresql REGEXP_SPLIT_TO_ARRAY 
function|http://www.postgresql.org/docs/9.1/static/functions-string.html].

The function will take two parameters:
* the input value to be split
* the regular expression pattern to be used to split the input into an array

The output of the function will be {{VARCHAR_ARRAY}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to