[
https://issues.apache.org/jira/browse/PHOENIX-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid updated PHOENIX-1254:
----------------------------------
Attachment: PHOENIX-1254.patch
Patch to add REGEXP_SPLIT function
> 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
>
>
> 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)