hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuntao Jia (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-542) Faster String Like
Date Fri, 19 Jun 2009 00:15:07 GMT

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

Yuntao Jia updated HIVE-542:
----------------------------

    Attachment: HIVE-542.2.patch

I changed the function name from checkSimplePattern(...) to parseSimplePattern(...) and added
some comments. Now it is easier to understand how it works. I also changed the "if ... else
if ... else ... " statement to a switch statement to make the code in evaluate(...) more readable.


> Faster String Like
> ------------------
>
>                 Key: HIVE-542
>                 URL: https://issues.apache.org/jira/browse/HIVE-542
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Yuntao Jia
>         Attachments: HIVE-542.1.patch, HIVE-542.2.patch
>
>
> Currently Hive uses regular expression to do string like which is really really slow.
We should implement "LIKE" natively using Text.

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