hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CHEN GEN (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-686) add UDF substring_index
Date Tue, 25 Feb 2014 08:03:19 GMT

    [ 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)

Mime
View raw message