hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Zhou (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-541) Implement UDFs: INSTR and LOCATE
Date Wed, 15 Jul 2009 09:25:14 GMT

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

Min Zhou commented on HIVE-541:
-------------------------------

Text.find(String)  would not be faster ,  string argument will be encoded internally in Text,
equivalent cost of Text.toString() which will decode a text. 

> Implement UDFs: INSTR and LOCATE
> --------------------------------
>
>                 Key: HIVE-541
>                 URL: https://issues.apache.org/jira/browse/HIVE-541
>             Project: Hadoop Hive
>          Issue Type: New Feature
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-541.1.patch
>
>
> http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_instr
> http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_locate
> These functions can be directly implemented with Text (instead of String). This will
make the test of whether one string contains another string much faster.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message