hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1747) Make case-insensitive substring search as fast as case-sensitive variant
Date Mon, 25 Oct 2010 22:52:20 GMT

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

John Sichi updated HIVE-1747:
-----------------------------

    Description: 
{noformat}
WHERE str_col like '%XYZ%'
{noformat}

is very fast because the pattern matching code is special-cased.  However,

{noformat}
WHERE str_col rlike '(?i).*XYZ.*'
{noformat}

is very slow because it goes through the generic Java pattern matching.


  was:
WHERE str_col like '%XYZ%'

is very fast because the pattern matching code is special-cased.  However,

WHERE str_col rlike '(?i).*XYZ.*'

is very slow because it goes through the generic Java pattern matching.



> Make case-insensitive substring search as fast as case-sensitive variant
> ------------------------------------------------------------------------
>
>                 Key: HIVE-1747
>                 URL: https://issues.apache.org/jira/browse/HIVE-1747
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: John Sichi
>
> {noformat}
> WHERE str_col like '%XYZ%'
> {noformat}
> is very fast because the pattern matching code is special-cased.  However,
> {noformat}
> WHERE str_col rlike '(?i).*XYZ.*'
> {noformat}
> is very slow because it goes through the generic Java pattern matching.

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