phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-1254) Add REGEXP_SPLIT function
Date Wed, 17 Sep 2014 07:32:33 GMT

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

Hudson commented on PHOENIX-1254:
---------------------------------

SUCCESS: Integrated in Phoenix | 3.0 | Hadoop1 #212 (See [https://builds.apache.org/job/Phoenix-3.0-hadoop1/212/])
PHOENIX-1254 Add REGEXP_SPLIT function (gabrielr: rev a56b2f48cce073aedb8a531229d4563a501ab6e6)
* phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSplitFunctionIT.java
* phoenix-core/src/main/java/org/apache/phoenix/expression/function/RegexpSplitFunction.java


> 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
>             Fix For: 5.0.0, 4.2, 3.2
>
>         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)

Mime
View raw message