You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/10/06 09:10:31 UTC

[jira] Resolved: (HIVE-236) RLIKE/REGEXP should allow matching partial strings

     [ https://issues.apache.org/jira/browse/HIVE-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao resolved HIVE-236.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0
     Release Note: HIVE-236. RLIKE/REGEXP allowing matching of partial strings. (Paul Yang via zshao)
     Hadoop Flags: [Reviewed]

Committed. Thanks Paul!

> RLIKE/REGEXP should allow matching partial strings
> --------------------------------------------------
>
>                 Key: HIVE-236
>                 URL: https://issues.apache.org/jira/browse/HIVE-236
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Paul Yang
>             Fix For: 0.5.0
>
>         Attachments: HIVE-236.1.patch, HIVE-236.2.patch, HIVE-236.3.patch
>
>
> The current behavior is that the regexp needs to match the whole string.
> But from mysql: ( http://dev.mysql.com/doc/refman/5.0/en/regexp.html#operator_regexp )
> mysql> SELECT 'fofo' REGEXP '^fo';                      -> 1
> We need to make it work the same way as MySQL.

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