[
https://issues.apache.org/jira/browse/TAJO-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858121#comment-13858121
]
Hudson commented on TAJO-381:
-----------------------------
SUCCESS: Integrated in Tajo-trunk-postcommit #647 (See
[https://builds.apache.org/job/Tajo-trunk-postcommit/647/])
TAJO-381: Implement find_in_set function. (Jae Young Lee via hyunsik) (hyunsik:
https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=4c7579009c137570ecc412d1365ace77fbbd4b87)
*
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMaster.java
*
tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/function/TestStringOperatorsAndFunctions.java
*
tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
*
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/FindInSet.java
* CHANGES.txt
> Implement find_in_set function
> ------------------------------
>
> Key: TAJO-381
> URL: https://issues.apache.org/jira/browse/TAJO-381
> Project: Tajo
> Issue Type: Improvement
> Components: function/udf
> Reporter: Jae Young Lee
> Assignee: Jae Young Lee
> Priority: Minor
> Fix For: 0.8-incubating
>
> Attachments: TAJO-381.2.patch, TAJO-381.patch
>
>
> find_in_set(str,str_array) - Returns the first occurrence of str in str_array
> where str_array is a comma-delimited string.
> Returns null if either argument is null. Returns 0 if the first argument has
> any commas.
> Example:
> "select find_in_set('cr','crt,c,cr,c,def') as col1 "
> -> result: 3
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)