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

CHEN GEN commented on HIVE-686:
-------------------------------

BUG: this funtion is not support 
substring_index("www.test.com","test",-1)="com"
FIX Suggestion:
last line:
                r.set(input.substring(k + delim.length()));

> add UDF substring_index
> -----------------------
>
>                 Key: HIVE-686
>                 URL: https://issues.apache.org/jira/browse/HIVE-686
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Namit Jain
>            Assignee: Larry Ogrodnek
>         Attachments: HIVE-686.patch, HIVE-686.patch
>
>
> add UDFsubstring_index
> look at
> http://dev.mysql.com/doc/refman/5.0/en/func-op-summary-ref.html
> for details



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to