[ 
https://issues.apache.org/jira/browse/PHOENIX-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136128#comment-14136128
 ] 

Gabriel Reid commented on PHOENIX-1254:
---------------------------------------

Sounds good. I've added a sub-task to this ticket as a reminder for the 
addition to the reference guide. Thanks again for the assistance on this.

> 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
>         Attachments: PHOENIX-1254.patch, PHOENIX-1254b.patch
>
>
> 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