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

Eric Hanson commented on HIVE-4070:
-----------------------------------

There's an effort to add vectorized query execution to Hive, and this JIRA is 
to speed up the most common cases for LIKE in vectorized mode: 
https://issues.apache.org/jira/browse/HIVE-4548.

Making the performance as fast as in the HIVE-4548 JIRA will not be possible if 
LIKE is case-insensitive. That makes things quite a bit harder. So I am glad 
the sentiment here is to keep the default behavior case-sensitive.
                
> Like operator in Hive is case sensitive while in MySQL (and most likely other 
> DBs) it's case insensitive
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4070
>                 URL: https://issues.apache.org/jira/browse/HIVE-4070
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 0.10.0
>            Reporter: Mark Grover
>            Assignee: Mark Grover
>            Priority: Trivial
>
> Hive's like operator seems to be case sensitive.
> See 
> https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFLike.java#L164
> However, MySQL's like operator is case insensitive. I don't have other DB's 
> (like PostgreSQL) installed and handy but I am guessing their LIKE is case 
> insensitive as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to