hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2714) Lots of special characters are not handled in LIKE
Date Tue, 13 Mar 2012 01:48:40 GMT

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

Kevin Wilfong updated HIVE-2714:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed.  Thanks Jonathan.
                
> Lots of special characters are not handled in LIKE
> --------------------------------------------------
>
>                 Key: HIVE-2714
>                 URL: https://issues.apache.org/jira/browse/HIVE-2714
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jonathan Chang
>            Assignee: Jonathan Chang
>         Attachments: HIVE-2714.D1239.1.patch, HIVE-2714.D1239.1.patch
>
>
> Currently LIKE converts the string to a regular expression.  It tries to handle special
characters but many are not correctly handled, e.g. +, ?, |, etc.  That code should just use
Pattern.quote.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message